How to embed image in openFl

Hello,

how to embed image in openFl ?

as3

[Embed(source="picture.jpg")]
private var Picture:Class;

var pic:Bitmap = new Picture();

Thanks

Here is a tutorial for the same.

Assets in OpenFL: embedding images, sounds and more

http://www.haxecoder.com/post.php?id=20

Thanks for this tutorial