I decided to make my 1st air project, which is a simple drag and drop list maker. where i want to list the url/path for any file that gets dragged in!!
my code:
PHP Code:
import flash.desktop.NativeDragManager;
import flash.events.NativeDragEvent;
import flash.desktop.ClipboardFormats;
this.addEventListener(NativeDragEvent.NATIVE_DRAG_DROP, onDragDrop);
function onDragDrop(e:NativeDragEvent):void
{
var myURL:Object = e.clipboard.getData(ClipboardFormats.FILE_LIST_FORMAT);
urlList.text = myURL[0].url;
}
the problem i have is that i cant seem to see the published file for testing, i get an xml and a swf but no airi files????
i'm a noob at this
rat