Menu movement

I’m fairly new to scripting and I’ve been trying to set up a web page with scripting, or more than I normally would use. If I can post my .fla you will see that when you watch it and press the ‘news’ button that the menu ‘closes’ then starts to move and opens directly after that. I need it to move, stop, then open. I was working with an if statement and I guess something isn’t working right, Thanks for the help!

ZumoWrestler

Here is the link and some AS if that helps…

http://msu-rov.bearnotes.com/rov.html

//on frame 68 in MC//
onEnterFrame = function () {
if (menu_MC =! 50) {
_root.menu_MC.xMove = 50;
}
if (_root.menu_MC.xMove = 50) {
gotoAndPlay (1);
}
}
gotoAndPlay (67);

//on MC on stage one//
onClipEvent (load) { 
xMove = _y; 
easeSpeed = 7; 
} 
onClipEvent (enterFrame) { 
_y += (xMove-_y)/easeSpeed; 
}

Sorry guys, I’m not trying to be annoying I’ve just ran out of options. I guess what I’m trying to do is send a MC to a certain location then once it is at the location have it run another function but only once it is at that location. I keep thinking over it thinking there is something I missed that I know how to do but I just started working with if statements. Thanks for the help! :thumb:

ZumoWrestler