Amazingly enough it doesn't!.
Lets make it real simple.
We create a square, convert it to a movie clip.
we edit the movie clip and again change the square nested there to a movie clip and move it with a motion tween after 30 frames 100 pixels in whatever direction.
we add an action layer and glue a stop(); on the first frame
we return to the main timeline
we name the movie clip square
we paste your code on the first frame of the main timeline:
function myFunc() {
_root.square.gotoAndPlay(2);
}
/* then we use this ur if-sentence and call myFunc() if Myarray == 1 */
var Myarray = 1;
if (Myarray == 1)
{
trace ("hi");
myFunc();
}
We get a hi and nothing moves.
unbelievable isn't it?

enjoy the weather.. it's kinda nice here too
