RE: [flexcoders] Drag-n-dropping images from Mac OS to AIR app

2009-01-08 Thread Jim Hayes
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

Re: [flexcoders] Drag-n-dropping images from Mac OS to AIR app

2009-01-08 Thread Lushen Wu
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

Re: [flexcoders] Drag-n-dropping images from Mac OS to AIR app

2009-01-07 Thread Mac Martine
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