Hello! First time posting here. I could use a little help if someone is willing. I have a flash project where I have two movies that are supposed to synchronize, depending on user choices. Most of the time they do, randomly they do not. So I thought perhaps there is something wrong with the code I am using.
on (press){
this.movie1.gotoAndPlay(random(this.movie1._totalframes));
if(this.movierandom.enabled == false){
this.movie2.gotoAndPlay(this.movie1._currentframe);
}
}
What’s supposed to happen is, when the button is pressed, movie1 goes to a random frame and plays. If movierandom is not enabled, movie2 is supposed to go to the same frame as movie1 and play. Movie1 and movie2 have the same number of frames. Occasionally, movie2 goes to a different frame. Am I being stupid here, and missing something basic? Please help…