Import swf, use linked library assets?

Greetings,
I’ve spent the last two hours (or so) trying to find a solution to this. I’m working on a project & need fairly urgent help.

The Concept:
I have fla_A, and fla_B. fla_B contains a single MovieClip which contains a bunch of MovieClips that are all set to Export for ActionScript (NOT first frame, as this will need to be preloaded). I want to load fla_B into fla_A, and be able to instantiate the nested clips (inside fla_B) as if they were native to fla_A itself.

After loading the swf, I’m using:

var _someMC:Class = e.currentTarget.applicationDomain.getDefinition('_someMC') as Class;
var clip:MovieClip = new _someMC() as MovieClip;
addChild(clip);

which works fine, EXCEPT that I’m not always going to be in the “onSwfLoadedComplete” function, & as such will not always have access to “e.currentTarget”, & I don’t want to reload the external swf every time I want a new asset.

Can I cast “e.currentTarget” as something useful like MovieClip (well, not MovieClip, 'cause that doesn’t work), or something that will stick around from which I can dynamically load things?
Am I looking at this wrong?

Anyone, please?!? :slight_smile: