ok go here:
http://www.intrinsicmediainc.com/tbmoc/index.htm
click on flash and watch the movie.
see the nav. menu? I bet you do…
well the thing of it is, i want the buttons to return to their original position once the users mouse is out of the area where the buttons reside.
I was thinking i could use an if command and check the mouse position, and if the mouse wasnt in a certain box then the x, y position of each button could be told.
heres the action script im using now to move them:
onClipEvent (load) {
targetX = _x;
// save initial positions
targetY = _y;
speed = 3;
}
onClipEvent (enterFrame) {
if (targetX != _x || targetY != _y) {
// move if not there
_x += (targetX-_x)/speed;
_y += (targetY-_y)/speed;
}
}
and then on the menu button to move the others:
on (rollOver) {
cb.targetX = -401;
cb.targetY = 134;
}
thanks.
p.s. this is a work in progress so if anyone wants to say anything useful about the design that is more than welcome. thank you again.