|
-
Sprite following mouse
Is there a way that I could make a symbol/button follow my mouse without having to drag it? for example, a car following the cursor.
-
Yep. Which version of AS are you using?
-
i don't know which version of Actionscript your using but here's how to do that with as2.
Actionscript Code:
onEnterFrame = function() { movieclipName._x = _xmouse; movieclipName._y = _ymouse; }
might be addicted to flash... 
_______________________________________
-
Sorry, I have CS4 so I can use AS3 and below, but I heard that AS3 is difficult. thank you for the code, I will try it out immediatly!
-
(Fixed my problem, thank you so much!)
Last edited by tonya1790; 12-28-2010 at 07:45 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|