I am trying to place an image inside of VBox in my application, but when I run the application, all that is displayed is the placeholder for where the image is supposed to be.
This is the code I am using to place the image:
The image is located in the assets directory and the spelling is all correct.
I have also tried source="@Embed(source='assets/Aviation_Night_Flight.jpg')"/> but that doesn't work either.
Where is my error?
Thanks so much!
Where is the "assets" folder in relation to the src folder?
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
My assests folder is in the root of my project:
Is the assest folder supposed to be a subdirectory of the Src folder?
Thanks for the quick reply!!
I answered my own question - with your guidance!
It has to be a sub-folder.