If statements involving speed + coordinates?

Hey Everyone!
So i’m fairly new at Flash and am having trouble writing a certain if statement. Kirupa has this cool sliding menu thats all in one document, with all the different backgrounds on a single timeline. What I want to do is when one of those menu’s appears in the center of the screen completely still to load an external .swf. The only idea I had is to write an if statement stating:

If the background_mc is == to a speed of zero + coordinates of x = 0, y = 0 then perform this action. Anyone know how to write that? And also if there’s a better way to do this let me know :stuck_out_tongue: thanks!