Setting instance names on keyframes quickly in AS3
Posted
by Boon
on Stack Overflow
See other posts from Stack Overflow
or by Boon
Published on 2009-01-03T22:37:57Z
Indexed on
2010/03/31
3:03 UTC
Read the original article
Hit count: 287
Right now in Flash CS3 and up (using Actionscript 3) if you have the same instance that is used in multiple keyframes in a layer, and you decide to assign or change the instance name later, you would have to go to each keyframe and set the instance name. This is a big nuisance. Is there a quicker or better way to do this?
NOTE: In AS2, you can set the name by using name property of the MovieClip in your code in the onLoad handler of the MovieClip class so it's done once and for all. Unfortunately in AS3, you are not allowed to set the name property anymore.
© Stack Overflow or respective owner