Posts Tagged "code"

Get full file path in AIR

Normally if you want a file path in Flex to upload a file you use FileReference() with a browse(). Last week I tried the same technique to get a file dragged from the desktop to my AIR application. After fixing a strange problem the code worked but the next problem…

read more →

FileReferenceList() problem in AS3

Today I noticed a strange thing in Flex. Let me explain the problem. I created FileReferenceList. I added a eventListener to that FileReferenceList that returns me the list of files that the user selects. This is the code: ?View Code ACTIONSCRIPTprivate function openFileReference():void{ var flr:FileReferenceList = new FileReferenceList(); flr.addEventListener(Event.SELECT, onFrlResult);…

read more →