I have a mc playing on a level that I want to load another mc on to when I press a button, how do I get the first mc to play an animation that looks like it did when it loading on. The animation is a motion tween.
:cowboy:
I have a mc playing on a level that I want to load another mc on to when I press a button, how do I get the first mc to play an animation that looks like it did when it loading on. The animation is a motion tween.
:cowboy:
Hi,
Send the playhead to that frame and play.
If the second one replacing the first one?
if so:
BUTTON:
on(press){
pressed=1;
yourContainer.gotoAndPlay(“startingFrame”);
}
FINAL FRAME OF ANIMATION:
if(pressed){
this.loadMovie(“nameOfJpg.jpg”);
pressed = 0;
}
if not:
BUTTON:
on(press){
yourContainer.gotoAndPlay(“startingFrame”);
yourSecondContainer.loadMovie(“nameOfJpg.jpg”);
}
Cheers
SHO
:: Copyright KIRUPA 2024 //--