Addind one unique script to 3 separate movie clips
Hi,
Where do you insert your script when your animation is composed of three separate movie clips? In a simple animation, I believe it would be on the first frame but in the case of threee movie clips, I tried on scene 1, frame 1 but it didn't work, neither did it work on frame 1 of each animation. Is there a script (in scene 1 frame 1) that would include all three movie clips? My script is about replaying the animation every time a page of my digital brochure is reloaded.
Here is the sript I' m trying to apply:
function onPageOffView():void{
this.stop();
}
function onPageViewed():void{
gotoAndPlay(1);
}
Thank you!
