View Full Version : Mouse Targeting
BrazenBlaq
August 19th, 2002, 05:52 AM
Aloha.....
Need some help! Im not trying to copy, but i seen a navigation menu system on a really nice site and was wandering if anyone with coding experience could show me how to duplicate such a navigation.
The site is a http://www.celsiusdesign.com
Any and all assistance is appreciated and thank you in advance.
BrazenBlaq
iceman
August 19th, 2002, 11:02 AM
The main menu on the site has a basic follow the mouse movieclip, however if you notice there is a little bounce effect or offset that plays along with mouse. To me that looks like inertia. This effect requires quite a bit of code, and I believe there is a tutorial on it on this site.
Basic code for a movieclip to follow the mouse:
onClipEvent(load){
mouse.hide();
}
onClipEvent(enterFrame){
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Hope this helps.
Kyle:)
lostinbeta
August 19th, 2002, 11:43 AM
Actually inertia has to do with speed, what they use is elasticity. I don't mean to try to prove you wrong iceman, but I didn't want BrazenBlaq looking for the wrong tutorials.
Either way, there is going to be a bit of coding involved.
iceman
August 19th, 2002, 01:20 PM
your right I was thinking of elasticity but wrote inertia for some weird reason, lostinbeta is right.
Kyle
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.