Open the local file with fileReference in AIR

I just started to build an AIR application and am facing a very basic problem. I need a file-> open menu that displays an open file dialog box and returns the location (including the folder) of a file to edit.
-J' tried the FileReference.Browse (), but this does not seem to provide the full path to the file
-J' fileReferenceList.browse () tried but does not fire the event SELECT on my Mac under (seems to be a bug reported last October: http://bugs.adobe.com/jira/browse/SDK-13220)

Now, how can I achieve this in AIR? I guess that opening local file is a pretty standard operation for desktop application, any suggestion/tip?

Thank you
* P

You don't want to use FileReference in the AIR for what you do. See the documentation for the mx.controls.FileSystemTree. There are indeed a handful of specific AIR controls to access the file system. It is not a dialog box "Open" in itself; You can build your own out of the data controls. I will say that controls will have the flavor of the operating system (on a Mac, the controls behave similarly to the way a Mac accessses and browse for files).

Tags: Flex

Similar Questions

  • I opened 2 emails that were in the folder spam from my email and that each contained an attachment zip 2 k and 3 KB. As I could not open directly in my email, I opened the zip files with the "open in" another app option. At the opening of th

    I opened 2 emails that were in the folder spam from my email and that each contained an attachment zip 2 k and 3 KB. As I could not open directly in my email, I opened the zip files with the "open in" another app option. When you open the zip files at this other app asked me if I wanted to extract zip files in a new folder, I have accepted, in both files .js (javascript) files there. I opened these .js inside this same application files and content files white text on black background and that seems to be a script file. My question is: my iPad Air has been compromised by a scam of viruses, such as the Trojan horse thieves and banking password especially as Dridex or Dyreza, the Trojans and ransomware as Locky, cryptolocker, or Teslacrypt. If that were the case, then what is the solution to get rid of these... Thank you.

    Simply delete them. It is not possible to install anything on iOS using this method. For good measure, you can remove and reinstall the application allowing you to open it with, but I don't really have that is actually needed.

  • Cannot open the PDM file with excel 2016

    Hey guys,.

    I have Office 2016, LV 2015 and (I checked my "TDM Excel Add-in" file) the Excel Add-in 2015 of CT.

    I have attached a picture of what I get when I try to open the PDM file with excel.

    So, I found something strange. I checked active supplements under the excel options and the TDM Excel Add-in is listed as inactive (and is called a COM-add-in). I tried to activate it, by checking the box (see the second picture), but that does not change. Interesting is the last line of my second attached photo:

    Translated it means: ' loading behavior: a runtime error occurred when trying to load this Add-In.

    I have 10-64 bit operating system like windows.

    Someone at - it a solution?

    Kind regards

    Slev1n


  • Cannot open the project file with write access.

    I saw that this problem has been reported before, but have yet to find a solution.

    I have my project file in an external hard drive.  When I plug the hard drive to another computer and want to save it, I get this message:

    "Cannot open the project file with write access.  The file may be locked, or you don't have permission to write to this location.  Select Save as... »

    I don't want to register as because other projects refer to this file and also my file is still going to be ruined.

    FYI two computers use Windows 7.

    All solutions?

    Right-click on the folder in Question and select Properties. Select tab security make sure you that you then add everyone to the list of users. Do you this by selecting edit and then add. Type in all members of the section of the object, and click ok. Then select all the user and check full control. Press Apply and we'll adjust the permissions for the folder and subfolders and files.

    Eric

    ADK

  • Preview in the browser opens the local file instead of the url in DW CC 2015

    In 2014 Dreamweaver when I defined a site, I check it too remote and test server since they are the same. Once I finish editing I use Ctrl + Shift + u to upload to the server and if it is not still open in the browser, I press F12 to preview, and he opens the url. In 2015, Dreamweaver, I uncheck/remove the test server and leave only the remote server for so I have a defined test server, whenever I have downloads on the server automatically (which is annoying if you're not done with your changes yet or you have a little time of latency on your FTP connection). It's bulky, since it's a habit whenever I have some changes and download only when I'm about to test the changes. With the undefined testing server, when I press F12, the DW redirects to the local file instead of the URL defined in site settings. Now, I have to type the full url for each page I test. It is an approach back the previous version. Either enable in the browser preview, open the real link, as defined in site settings or please have an option to disable the auto push when recording. Thank you!

    First of all, you are right in your new configuration that remote and testing server should not be in the same.  It is not a good habit to get.  However, without a test in place server, DW will only use the local file to test because you don't want to push the Webcam page live on the server until it is complete.  In this case, DW creates a temporary file that you can view on your local computer.  In general, it is recommended to have a test server, if that exists within your local environment with local installation of WAMP/MAMP or Windows Server.  Or a specified test server environment that is not accessible to the public where you can test.

    In addition, to save them automatically download to the server and overwrite the file direct download or not, those are 2 settings to DW within which can be displayed/hidden.  First of all, in the DW preferences, there is a setting for "Preview in browser".  In this context, there is a checkbox to choose whether to display a preview with a temporary file.  If you have no other choice then to use the server as a test platform, you probably want to check this box to preview using a temporary file rather than overwrite the direct file each time.  Then if you go to the server management and change your test server, go to the Advanced tab and uncheck the box for "check automatically download files on the server.  This will disable the download file automatically the file on the server when you save, allowing you to download only when you preview and test.

  • Is there a way to open the text files with arbitrary extensions?

    As part of the mobile platform iOS, is possible to open arbitrary text files that have an arbitrary extension?  For example, in the course of my work day, I meet regularly with plain text files that have an .out extension.  I'd love to be able to open these simply with iOS notes without renaming them in .txt.  I meet many of them and only need to do this for a few minutes, so take the time to rename them significantly adds both.

    On the desktop a BONE can generally "open with", then choose the application.   I'm looking for the equivalent in iOS.  Please note that to access the files on iOS is not a problem with icloud drive, dropbox, etc..  they just can not be opened easily.   Simple text editor, word processor not full blown.

    You will need a software that can handle the file.

    Usually the file management applications can manage any type of file.  I like the 5 Documents to Readdle, it can open almost anything.

    https://iTunes.Apple.com/us/app/documents-5-file-system-PDF/id364901807?Mt=8

    The equivalent of 'Open with' in the iOS is "open in", 'Share xxx' or even 'Copy To '.

    How to get to it, depends on where the file is located.

    ICloud drive for example, you can do open the file in a specific application by holding your finger on the icon of the file and by selecting more «...» "in the menu that appears, and then selecting"Share point... ". "and finally select an application from the list.

  • Do not open the video file with the error "the file you download cannot open the default program".

    By double clicking on a file video I now get the following message "the file you download cannot open the default program" while previously he opened the file. This occurred after using Microsoft Fix - it for trial purposes, so what has changed.

    Original title: this message is received when I try to open a file by clicking twice - the file you download cannot open the default program

    Hello

    1. Are you dealing with the issue is with the opening of specific or all video files video files?
    2. What is the name of Microsoft fixit are you referring to?

    Set by default to read video files and verify if works.

    Change the programs that Windows uses by default:

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-which-programs-Windows-uses-by-default

    It will be useful.

  • Cannot open the PNG files with adobe reader.

    error message.jpg

    I've uninstalled and reinstalled the software adobe reader.  I am able to open these types of files in other formats.  Any suggestions?

    Hi Lee,.

    Adobe Reader is able to open PDF files only.

    Make a right click on the selection of .png file open with-> choose the default as "Windows Photo Viewer" to open the images.

    Kind regards

    Nicos

  • Published .htm does not open the SWF file with the exception of the published folder

    Using Captivate 2: my stand-alone files work fine for all users, no matter where I place them on the network, but I just published as SWF with export HTM and the HTM opens only the skin and SWF files if I open it in the folder where it was published. If I copy the files (all three) to another location, the HTM opens empty. I do not see a path when I discover the HTM in Notepad, so I can't understand why the browser window is empty. Anyone have any ideas? I have attached the .htm code (I think).

    I should have waited a little more forward: the standard.js file must move with the other files, as it is called in the .htm. If I had published in a clean folder I would have saw that immediately. Sorry...

  • Cannot open the zip file with windows vista causes flashes when right click on the mouse

    When I try to open pictures sent on Zip file by right-clicking mouse screen starts blinking non-stop. Having to stop to computer. Windows vista ultimate operating system.

    Thank you
    Raymond

    See the thread is if it helps:

    IE8 crashes when opening zip files
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_programs/zip-files-IE8-crashes-when-opening/f91ee0fd-99A5-4993-AC37-a0c461dc9b9b

  • Is it possible to configure Windows XP to open the LOCAL instead of the REMOTE file?

    It's just a matter of technology

    This is the situation: I wish Windows to open the local file previously synced in my hard drive, rather than opening the remote version, just like what happens when you work in offline mode. The reason is that I need to access the documents are big enough, and it works very quickly when I'm working offline, of course, but when I'm online, I would be able to work faster and the system should open the local version of the document, at least as long as the remote version is no different , or even if it is, it would be great to manually run synchronization but always opening the local version, thus optimising speed.

    Is this possible?
    Thank you very much in advance,
    Ivan.

    Hey

    Check the tips and tricks for remote desktop connection

    http://gegeek.com/gegeek_articles/remote_desktop_tips/remote_desktop_tips.htm

    See you soon!

  • When I try to open a PDF file with adobe Acrobat reader Windows Media Center automatically appears.

    When I try to open a PDF file with adobe Acrobat reader, windows media center automatically opens. How to prevent this? I just want to open the PDF file with Acrobat reader.

    The solution I think. If you right-click on one of the files and select open the file locations it now combined the file with adobe reader.

    Yes - you simply need to change the associated file (and path) back to Adobe Reader.  (If that's your choice PDF reader.)

    If you did this:

    Press the Windows Logo and R key at the same time to bring up the dialog box RUN.
    Once you have the dialog box up, type in the following command and press OK...

    cmd /k ftype AcroExch.Document

    That he return with? Should be something like:

    AcroExch.Document = "C:\Program files (x 86) \Adobe\Reader 10.0\Reader\AcroRd32.exe" '%1'

  • Scripting 'Save PSD to PDF with password security' and 'Open a PDF file with password security' issue.

    Hello!

    I am now building an extension for Photoshop. The script (jsx) should save the document as Photoshop PDF secured with a password. The IPL is the same all the time and is defined in the script. Then, the script is to open the PDF file with that same password. I need this to protect the PDF of the opening by a user, so that only the script has access to the file.

    I googled a lot. I saw a similar topic on this community date in 2012. He did not respond. With one comment saying that savings with a password appears to be possible via GUI and not a script.

    Nothing has changed since 2012?

    P.S. .requireDocumentPassword and Illustrator .documentPassword do not work in PS and ScriptListener gives still nothing :-/

    ScriptListener always gives nothing

    Which probably means the task is not (yet) possible to achieve with Photoshop scripts.

    The Photoshop DOM and I seem to have weaknesses or omissions that I consider more relevant, but if you consider the matter as essential you can post a feature request to

    Community customer Photoshop family

  • Update (KB967715) will not be installed. Cannot open the local disk C, with double click

    I have installed above updated 6 times, when install it says its 0 KB. said after complete installation, but the update is not installed. I just re-formatted my computer and this is the only problem so far. now when I goto:

    My computer
    Local disk C:
    Left click (to open), I get following error:
    Windows cannot find 'info.exe.

    I can only open the hard drive with a right-click then left-click Open. Not the end of the world, but I would like to address this problem.

    I think its something to with what precedes the day and the Autorun feature.

    Thanks for any information, that everyone has.

    Hello

    It seems to be a virus called protectfile.vbs or autorun.inf.

    Follow the steps below to remove this virus from your computer.


    MoveOnBoot open

    Go to rename Action-> rename file

    A dialog box opens, select the file. Because these files are hidden files, you will not be able to travel and see. Please enter
     
    Enter "C:\protectfile.vbs" in the section of the file selection.
    Enter "C:\protectfile.html" in the section of the destination file. Enter OK.

    Similarly, repeat steps 2 through 4 for the file 'C:\autorun.inf' and rename the in 'C:\autorun.html '.

    Do not restart your computer. We have implemented moveonboot to rename the .vbs ProtectFile in only one of the disks.

    Repeat step 2 to 5 for each disk. For example, if you have 4 drives on your computer (C, D, E, F), then you will have to rename '.vbs C:\protectfile', 'D:\protectfile.vbs', 'E:\protectfile.vbs' and '.vbs F:\protectfile' 'C:\protectfile.html', 'D:\protectfile.html', 'E:\protectfile.html' and 'F:\protectfile.html' respectively.

     
    Even renaming file "autorun.inf" in all readers for the corresponding ' autorun.html' files.

    Restart your computer. We have disabled the virus.

    Now we will remove it completely.

    Reopen MoveOnBoot.

    Go to delete Actions-> delete the files

    You will not be able to browse and reach the files. Then click Browse and enter 'C:\protectfile.html', 'D:\protectfile.html', 'E:\protectfile.html', 'F:\protectfile.html', 'C:\autorun.html', 'D:\autorun.html', 'E:\autorun.html' and 'F:\autorun.html '.

    Restart your computer.

    The steps above should solve the problem for you.

    ======================================

    Click on the link to the following article for the update KB967715: http://support.microsoft.com/kb/967715

    All the best!

  • Cannot open the Windows Gallery with error message: "you may not have enough space on your hard drive or critical files may be lack of Windows.

    Original title: Windows Photo Gallery problems

    I have a problem trying to open Windows Photo Gallery, when I click on the program tab I get an error message saying: Photo Gallery cannot start. You can have enough space on your hard drive or critical files may be lack of Windows.

    • NO Mahesh B G , is not windows live photo gallery, windows photo gallery & is the message I get "could not open the Windows Gallery with error message: 'You may not have enough space on your hard drive or critical files may be lack of Windows'." Thank you Dave 07/11/2012

    Hi David,

    1. have you made changes on the computer before this problem?
    2. are you referring to the Windows Live Photo Gallery?

    Please follow the methods and mark the question below:

    Method 1:

    Fixed problems with Windows Live Photo Gallery that does not:
    http://support.Microsoft.com/mats/windows_photo_and_slideshow_diag/

    Method 2:

    You need perform a clean boot to prevent any third party conflicting application from interfering with your computer.

    To put the computer in a clean boot State, you must follow the steps in the article mentioned below and check with the question.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135

    Note: You must follow step 7 of the article mentioned above to recover your computer to a Normal startup after you complete all the steps.

    I hope this helps.

Maybe you are looking for

  • FN keys do not work on Portege R200

    Hello no idea what to do when the * FN keys * do not work? I press FN and want to adjust the brightness or volume or toggle the touchpad, but it simply doesn't. Do I need to install a driver? If some parameters are simply off somewhere? Appreciate an

  • Malware uses Mac Mail email account

    How can I find and remove malware on OS X El Capitan? He sends Malware on my e-mail address to my contacts. I already checked on Safari, Firefox and Chrome Extensions.

  • change the value of the button cluster

    Hi all I wrote a program that has 5 poles and all groups contain a STOP"" button. the program can stop when the button is pressed. When I press the button, the value of the button goes to False and else False. I want to come True. so I tried using th

  • How can I change the location of a research program?

    original title: how to make a program of reading of a folder somewhere else? I have Flight simulator X installed in the default location on my PC, but the C: drive becomes full. I would like to move the SimObjects/Airplanes folder to another drive if

  • Problems with Windows Movie Maker

    I'm not new to movie maker, but it's my first time met this problem and I don't know how to fix it. I downloaded youtube videos (which were .flv format) convert it to .wmv format and put them in movie maker. I did my video and published it. However,