I have a function that is called 3 times, I want times to assign it a name. How can I assign dynamic variable names to movieclips or do reference them by name or instancename?
var loadedMovie:MovieClip = new MovieClip();
loadedMovie.name = "mymovie";
loadedMovie = loadEvent.currentTarget.content; loadedMovie.x = 0; loadedMovie.y = 0;
addChild(loadedMovie);
mymovie.x = 20;