try to add the assets folder directly beside the as file, the Flex Unit should understand that.
FlexUnit Build Failed
-
30-06-2022 - |
Вопрос
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.
Решение
Не связан с StackOverflow