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
AIR gurus,
The following code in my AIR app works fine on a PC, but not on a
Mac:
protected function handleDragEnter(event:NativeDragEvent):void {
if (event.clipboard.hasFormat
(ClipboardFormats.FILE_LIST_FORMAT)) {
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
4 matches
Mail list logo