[FMX] Function after function

Hi,

I have a menu that appears on the stage with the following function (thank you divarch for making me undestand functions way better )

[AS]function moveMenu (clip, yPos, speed){
clip.onEnterFrame=function(){
var endPos = yPos-this._y;
this._y += endPos/speed;
}
}
moveMenu (menu, 50, 3);[/AS]

Next to the menu I have a movieclip (instance name “square”) which I want to appear on the stage from the left, but not before menu (see above) has reached it’s final position. How do I integrate this in the above function or should I make a seperate function for this :q: