Subject: Re: [flexcoders] Drag-n-dropping images from Mac OS to AIR app
Try this:
if(Capabilities.os.search(Mac) = 0) img1.source = file:// +
tempImg.nativePath; else img1.source = tempImg.nativePath;
On 1/7/09 1:26 PM, Jeff Hindman jake...@cox.net wrote:
AIR gurus,
The following code in my AIR app
Jeff,
File.nativePath is really funky on unix machines. I would try
img1.source = tempImg.url
of course, you didn't mention exactly what the breakdown was or what
behavior did happen, but that might help..
Lushen
Jeff Hindman wrote:
AIR gurus,
The following code in my AIR app works fine
Try this:
if(Capabilities.os.search(Mac) = 0)
img1.source = file:// + tempImg.nativePath;else
img1.source = tempImg.nativePath;
On 1/7/09 1:26 PM, Jeff Hindman jake...@cox.net wrote:
AIR gurus,
The
3 matches
Mail list logo