How to use HTML5 to create an empty movie clip and add it to the stage
How to create a new movie clip using HTML5 code.
And add movie clips to the Stage.
I also need to name movie clips.
How to create a new movie clip using HTML5 code.
And add movie clips to the Stage.
I also need to name movie clips.
I don't think you can access a movieclip using a property value that you have set. And Animated_Container is a variable that belongs in the current context, exportRoot doesn't know about that variable either.
If you need everything to be global, you could do this:
exportRoot.Animated_Container = new createjs.MovieClip();
exportRoot.Animated_Container.name = "Co_name";
exportRoot.addChild(exportRoot.Animated_Container);
exportRoot.Animated_Container.addChild(new createjs.MovieClip());
The name property won't be needed.
What's the reason you need to involve exportRoot?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.