After loading a movieclip into another one, I want to be able to access a library asset from the loaded movieclip's library.

In order to do so, I have used in the onCompleteHandler method:

		function onCompleteHandler(loadEvent:Event)

                   var Label:Class=loadEvent.target.applicationDomain.getDefinition("label") as Class;

"label" being the linkage id of the library asset inside the external movieclip's library.

I'm doing this so that I can addChild() the Label to the stage.

But I'm getting

"Error #1065": Variable shop_label is not defined.

Why is that? The library asset in the external SWF has a linkage id of "label" and the external movieclip's fully loaded.

Can anyone help? thanks