I'm trying to embed an image but have problems with the source path.
I have an image next to my compiled swf and I try this:
[Embed(source="image.png")]
But I get compiler errors that it can't find the file. I've read somewhere that the relative root can be something else than the actual output folder but I nothing I've tried have worked.
However, if I use an abolute path like this:
[Embed(source="C:/folder/folder/folder/folder/bin/image.png")]
it works, meaning I can compile and the image shows, but IntelliJ still marks half of the path as erroneous.
So two different problems I guess.