1 Reply Latest reply on May 19, 2011 1:11 AM by blazejewicz

    List local network directory contains

    isabelle loyer Level 1

      Dear Flexer

       

      In my Air application I'd like to know with file are on a spécific directory on my php server.

      Can you explain how to do that.

      Indeed, I try to do

       

      var directoryURL:String = "http://192.168.1.201:888/images/1/1/3"; 

       

      this.picFolder = new File();

      this.picFolder.url = directoryURL;

      this.picFolder.addEventListener(FileListEvent.DIRECTORY_LISTING, onDirectoryListing);

       

      But this don't work!

       

      Do you have an idea to do that?

       

      Thanks