lundi 6 février 2017

How to access all movieclips (and movieclips inside a movieclips,...) at a sametime with as3?

I am using Adobe Animate (or Adobe Flash Professional) and I often navigate timeline with as3. I want to reset all movieclips (and movieclips inside a moviclip) when the stage reach to an exact frame. like:

 if (this.currentFrame == 120) 
    { 
        allMovieClips.gotoAndPlay(1);
    } 

I am thinking about taking access to all movieclips in library but I don't know how. Is there any way to do that?

Aucun commentaire:

Enregistrer un commentaire