I have problem when I try to run unit test when I embed an Image
[Embed(source="assets/Pen.png")]
[Bindable]
private var PenImageClass:Class;
private var penCursor:Bitmap= (new PenImageClass());
the error message is :
unable to resolve 'assets/Pen.png' for transcoding
but when I commented the [Embed(source="assets/Pen.png")] It works correctly. > How can I resolve this.
try to add the assets folder directly beside the as file, the Flex Unit should understand that.