I have a movie clip I’m duplicating.
This movie clip is only one frame long and has a couple
variables and functions in an actions layer on that
first frame.
When I duplicate the movie clip I can’t access either
the variables on the timeline or the functions. What
am I doing wrong here.
MovieClipA
var blee
var blah
var tempClip:MovieClip = MovieClipA.duplicateMovieClip(‘createdClip’, 100);
trace(tempClip.blee) // This comes back undefined.
Is it not possible to retain the variables and functions
inside a movie clip when it gets duplicated?
I know you can define the variables and functions after
the duplication but I’d like to be able to have them almost
like class attributes / methods for when a new clip is duplicated.
Let me know if this is possible or if I’m smokin’ crack.
Thanks.