Can you use a Movie Clip in the UILoader?
Thanks, Oarswoman
Can you use a Movie Clip in the...you can load a swf using the uiloader.?is that what you're trying to do?
Can you use a Movie Clip in the...No a movieclip. But if I save it as a swf. will tthat work?
Thanks
Sent from my iPod
a movieclip doesn't need to be loaded.?it's already in your swf.
if you have a movieclip in your library that you want to add using actionscript, assign it a class name and use the ''new'' constructor. for example, if your movieclip's class name is MC1, use:
var mc1:MC1=new MC1();
to create mc1, an instance of MC1.?to add your movieclip to the display list use:
addChild(mc1);?// from a display list object (like the main timeline).
Isn't a Movie clip already cosidered a class?
Could you please state the code that would let me load a movieclip to the UILoader?
Thanks, Oarswoman
movieclips can't be loaded and therefore the uiloader class can't load a movieclip.
do you have a movieclip in your library that you're trying to add to the stage using actionscript?
Thank you for the answer to the original question
Oarswoman
you're welcome.
if you can, please mark this thread as answered.
No comments:
Post a Comment