[Embed(source = 'assets/hero.png')] private const HERO_IMG:Class; var heroBMP:Bitmap = new HERO_IMG(); addChild(heroBMP);