|
-
[RESOLVED] Can ayone tell me the name of this effect & how to make it?
Hey Guys,
I've seen couple of websites like http://www.fortminor.com/ (Now archived) & http://www.feedyourego.co.za/ in these websites the text & the objects move with the mouse moves. I just wanna know how to move the objects with mouse movement or you can say how to make an object follow the mouse (left-right-up-down)
P.S. In the 2nd website there's a 3d character also which I don't have in my project so there's nothing to worry about 3d in flash. I've just couple of images & text 
Thanks
-
Prid - Outing
You need to make them follow the mouse's X and Y coordinate divided by a number of choice. Make a movieclip, select it, open Actions Panel, and paste this code to try an example:
Actionscript Code:
onClipEvent(load){ normalX = this._x; }
onClipEvent(enterFrame){ this._x = normalX+(_root._xmouse/10); }
Then, just change 10 to something else, the lower the higher speed, and try to adjust the position of your movieclip manually by dragging it, to find the best spot. For Y coordinate, do the same, but change very x to y
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
-
Thanks a lot boy this is what I was looking for
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
|