Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Ansari

macrumors newbie
Original poster
Jun 6, 2008
17
0
Cambridge, Ontario
I have a Graphic symbol with a few dozen animations taking place one after another. In my main timeline, I only want to show one animation at a time. Easy enough to do by setting the Looping of the symbol to Play Once and specifying which frame to start at.

Within the graphic symbol, I have a layer with only labels on it and each animation has it's own label. In my main timeline, how can I specify where to play the graphic symbol from by label rather than by frame number?

I'm working in CS4 using AS3.

Thanks
 
I have a Graphic symbol with a few dozen animations taking place one after another. In my main timeline, I only want to show one animation at a time. Easy enough to do by setting the Looping of the symbol to Play Once and specifying which frame to start at.

Within the graphic symbol, I have a layer with only labels on it and each animation has it's own label. In my main timeline, how can I specify where to play the graphic symbol from by label rather than by frame number?

I'm working in CS4 using AS3.

Thanks

you should be able to drop your frame labels into your gotoAndPlay actions wrapped in quotes.

instancename.gotoAndPlay("framelabel");

Can you give instance names to graphic symbols? I no longer use the Flash IDE. Back in the day I would use a Movie symbol instead of a graphic symbol to do the above, but it may not matter anymore.
 
Just turn the graphic instance into a movieclip instance (via the properties panel) and give it a name. You can then call name.gotoAndPlay(framelabel);
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.