03-16-2013 12:50 PM
In AIR, I have a "lock.png" situated under the "src" folder. No complicated folder structure there.
label1.htmlText = "<img src='lock.png' />" OR
labl1.htmlText = "<img src='lock.png' width='300' height='350'>"
I am unable to produce display the image. Any hints where I am wrong ?
(Tested on a simulator as well as on Playbook, using multiple combinations of "src/lock.png", "/lock.png", etc etc)
03-22-2013 02:23 PM
lock.png should be in the bin folder in this case (runtime loading of the asset).
Embed would be better as noted since you don't have to remember to package the asset with the project on BAR creation.