I created a library project, which contains an embed image like below in class AssetLib.
[Embed(source="Frame_Title_BG.png")]
private var Frame_Title_BG:Class;
then I exported the swc to my existing actionscript project.So i assume that the img
Frame_Title_BG should be in the memoroy,but when i try to created the class
var assetCLs:Class = getClassByAlias('Frame_Title_BG');
var asset = new assetCLs();
I was not able to get the assetCLs;
In my mind, all the class should be in the applicationDomain.
So how can i use the Class in my current project?
add “ClassHolder_” before the embed class name: