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.
Printable View
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;
}
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!)