0 Replies Latest reply on Aug 22, 2011 1:58 AM by ChristophFlex

    [Flex mobile] Open file with a Filebrowser

    ChristophFlex Level 1

      Hi everyone,


      i want to be able to open files with a file browser in my app, but the browse dialog which is opened by the File.browse() method only displays / opens music or image files. Furthermore im not even able to change the Dialog header when running my project on android:


      dir.browseForOpen("Please select a file");


      this doesn't work on android, neither does the next code-block:...


      var dir:File=new File(File.userDirectory.url+ "/geoforms");
      var filter:FileFilter=new FileFilter("Documents","*.txt");
      dir.browseForOpen("Please select a file",[filter]);



      So what do i have to do, to be able to show a decent file select dialog ?