I have a relatively simple AIR application that pulls image
paths from a database and then attempts to display that image by
setting the src="" attribute of an <mx:Image /> tag. On my
Windows development machine this all works swimmingly, however,
when transferring the application to Linux, the images only display
as the "broken image" icon, as though they can't be read from disk.
I've definitely verified that the images are where they're
supposed to be, and that the files are not corrupted. I've used
.nativePath to avoid problems with the file system differences. To
wit, here's the relevant code:
private var resourceRootPath:String =
[Bindable] private var imgPath = resourceRootPath +
File.separator + Object.graphic // where Object.graphic is the file
name pulled from a DB, as a parameter of an object the app uses
repeatedly. It exists as a string that represents the file name,
such as "graphic.jpg"