How to clear Classes that were loaded from an external swf library?

Hi,

Im working on a App that is using a external swf as a container for some graphical assets. An asset is a movieClip symbol with a class name attached to it. for example ASSET_1. I load the swf with the Loader class into the app. Its working fine I can also access ASSET_1 with this technic:

//— inside onLoaded

var ASSET_1:Class = event.target.applicationDomain.getDefinition(“ASSET_1”) as Class;

var asset:MovieClip = new ASSET_1() as MovieClip;

addChild(asset);

my problem start when im loading a second swf and than i try to access “ASSET_1” again, and the class doesn’t update itself, the content is the same as in the firs one.

any idea?