Hi,
I am trying to call a function which attaches a movie (turnover) of 50 frames in length. I want the actionscript that attaches the movie (turnover) to pause until turnover is complete - does that make any sense??
See below
_global.card_flipped = false;
attachMovie(“turnover”,“flip”,100);
//I don’t want this next bit to run until the turnover movieclip is complete
//turnover sets the global variable card_flipped to true in it’s last frame
if (_global.card_flipped == true) {
flip.removeMovieClip;
//there are other functions to carry out when turnover has completed
My problem is that I don’t get into this if statement as it has run before the 50 frame turnover movieclip has completed.
Can I pause the actionscript for 2 seconds to allow turnover to run?
I’d appreciate any suggestions, as I’m going round in circles.
Thanks in anticipation,
Jude