i have my navigation half built (http://www.parttimelegend.com/tests/) and i am having a few issues.
-
set the initial _x position?
-
how can make the navigation ease to an _x position when you roll out of the swf?
-
stop the movement of the _x postion so it cannot go too far left or right?
This is the code i have used. it has been applied to the black bar in the background and the white mask for the text
onClipEvent (load) {
_x = 0;
speed = 2;
}
onClipEvent (enterFrame) {
endX = _root._xmouse;
_x += (endX-_x)/speed;
}
This navigation will be used on an html site, any and all help will be greatly appreciated.