Remove the initial / ?
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
Flex / AIR Development, Training, and Support Services
Thank you, I have tried that however. I've actually tried the path several ways. Without embedding it works both with and without the slash, but doesn't work either way embedded. Can I not assign an embedded image to an image source property in actionscript? It seems to work fine in the mxml, but I don't want to do it at that level. Should I be maybe doing it at the function scope and setting the image source (like it would be in the mxml to "@Embed" etc)?
I think you need to instantiate the embedded image class, and then assign it:
[Embed(source='/assets/images/someImage.png')] private var MyImageClass:Class;
var img:Image = new Image();
img.source = new MyImageClass();