My flex (flash builder 4) project references (embeds) a flex library project (ReusableFx). I have it working fine when it builds and runs, but I am struggling with a Design mode error "Design mode: Error during component layout...".
In the flex library project there is a 'default.css' file which references a png file. Specifically like this:
icon: Embed("assets/icons/filter.png");
It works when I build and run, I see the icon, but the problem is that design mode must work different in flash builder and breaks with this line.
I tried a few things with no difference: - adding a "/" in front - changing it to Embed(source="... - adding the "assets.icons" group and png files to my project - also tried adding a "/" in front - adding a folder named assets and a folder named icons and then putting the png files in to my project. - changing it to reference the library instead of embed in my project
I have a bug open with them, but I am hoping someone could give me some ideas that has worked with css and embeding images.