Hello,

I am loading a SWF using the ClassLoader class described in the
LiveDoc examples for ApplicationDomain.
(http://livedocs.adobe.com/labs/flex3/langref/flash/system/ApplicationDomain.html#includeExamplesSummary)

In the loaded SWF, I have a MovieClip exported to AS.
I load its Class like this:

var MyClass:Class = getDefinitionByName("MyClass") as Class;

then I create a MovieClip instance an add it to stage, like this:

var mc:MovieClip = new MyClass() as MovieClip;
addChild(mc);

But mc.gotoAndPlay(1) only works the first time correctly. Have
someone had this error before?

Matthias

Reply via email to