The title says it simply… I know how to do it when you extend Sprite like so:
[Embed(source = '../lib/imgname.png')]
private var layer0Class:Class;
private var layer0:Bitmap = new layer0Class();
addChild(layer0);
But how can you do this using flixel?