Category: Adobe AIR
-
Why has AIR file.browseForSave no FileFilter option
I try to create my own extension with a saved AIR file. The point in doing this is that the user knows what files are created by what program and a file without an extension is just plain ugly. When you save a file in other programs you can choose to overwrite a file (that…
-
Air file.nativePath Vs. file.url
Is it me or is file.url a lot easier to use than file.nativePath in Adobe AIR. Maybe I’m missing something because every tutorial or code snippet I can find uses file.nativePath. I’m busy building an AIR application that can be used on Windows and Mac OS. I have to take care of the file structure…
-
Direction of the TileList behaves strange
I stumbled into an incorrect working function of the TileList in Flex. It looks like they swopped a few variables around. If you set the direction of the TileList to horizontal it looks like Flex doesn’t care about the option and just scolls vertical. After that I checked an Adobe quickstart guide to know sure…
-
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 appeared to me. With FileReference…
-
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: private function openFileReference():void{ var flr:FileReferenceList = new FileReferenceList(); flr.addEventListener(Event.SELECT, onFrlResult); flr.browse();} private function onFrlResult(event:Event):void{ trace(“Select event: “+event.target);…