04-15-2011 11:16 AM
04-15-2011 11:17 AM
04-15-2011 11:30 AM
Yep, thanks but how to assign a IMAGE to that var? Didn't understand, sorry I'm a rookie
For an example I have an image in my src folder, the folder that the mxml is in.
The image's name is image.png
How do I assign it to a var?
And I dont want it to be shown before I give the addChild cmd.
04-15-2011 11:34 AM
Depends on the image. If it is small for things like buttons, I would embed it. If it is larger and might get swapped with another image during runtime, I would load it dynamically. Look at the QNX Image API for setting the image. URLLoader to load resources (found on Adobe FLEX/AIR website).
04-15-2011 11:46 AM