Hi, Is there a way to load all the class definitions in a swf that load into my flex app ??
On a sample swf with 4 mc's named mc1,mc2,mc3,mc4, i have got it to: private function onSWFLoaded(event:Event):void{ var col:ArrayCollection = new ArrayCollection(); for (var i:Number = 1;i <= 4;i++){ col.addItem(event.target.applicationDomain.getDefinition("mc" + i) as Class); } var mc:MovieClip = new (col.getItemAt(0)) as MovieClip; trace(mc); } Which works with instantiating the loaded mc, but i want to get rid of the dependancy on getDefinition() and having to pre-know the class names. Be incredibly handy to be able to utilise my external swf's as asset containers if i can do this. Cheers, Nik