LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 


  #1  
Old 06-06-2001, 02:48 AM
ule ule is offline
Registered User
 
Join Date: Jun 2001
Posts: 4
Rep Power: 0
ule is on a distinguished road
Angry

Sorry for my english, how can i do a movieclip to follow the mouse but like in a mirror, when i move the mouse to the left my movie clip(a circle) move to the right. Thank's a lot. Ule
Reply With Quote
  #2  
Old 06-06-2001, 03:35 AM
dv8's Avatar
dv8 dv8 is offline

Admin Mod
 
Join Date: Mar 2001
Posts: 2,053
Rep Power: 15
dv8 is on a distinguished road
Ok this should do the trick!
Code:
onClipEvent (enterFrame) {
	_root.mirrorcursor._x = this._x -_root._xmouse;
	_root.mirrorcursor._y = this._y -_root._ymouse;
}
It's difficult to explain, so here's the FLA.

http://www.atlantic.net/~tapeon/FMSamples/sampleFM6.fla Source
And here is a zipped version
http://www.atlantic.net/~tapeon/FMSamples/FMsample6.zip Zipped Files
Reply With Quote
  #3  
Old 06-06-2001, 03:39 AM
dv8's Avatar
dv8 dv8 is offline

Admin Mod
 
Join Date: Mar 2001
Posts: 2,053
Rep Power: 15
dv8 is on a distinguished road
Oops! Didn't post right.

FLA Source address is:
http://www.atlantic.net/~tapeon/FMSamples/sampleFM6.fla

And Zipped Version:
http://www.atlantic.net/~tapeon/FMSamples/FMsample6.zip

Need more help let me know!
Reply With Quote
  #4  
Old 06-08-2001, 03:14 PM
slacker's Avatar
slacker slacker is offline
Artsy Moderator
 
Join Date: Apr 2001
Location: A Recliner in Philly
Posts: 804
Rep Power: 13
slacker is on a distinguished road
make sure you give the movieclip the instance name mirrorcursor, or change the code to your personal settings.
__________________
Play me in QUADRADIUS
It's like checkers with powerups, the perfect "bored at work" game.

Challenge Gusto
Reply With Quote
  #5  
Old 06-08-2001, 03:26 PM
slacker's Avatar
slacker slacker is offline
Artsy Moderator
 
Join Date: Apr 2001
Location: A Recliner in Philly
Posts: 804
Rep Power: 13
slacker is on a distinguished road
make sure you give the movieclip the instance name mirrorcursor, or change the code to your personal settings.
__________________
Play me in QUADRADIUS
It's like checkers with powerups, the perfect "bored at work" game.

Challenge Gusto
Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump




All times are GMT. The time now is 05:37 PM.