Item Details
File BrowserDownload this item at the site of the publisher.
  • Author
      funkyjones
  • Version
      Actionscript 2.0
  • Opens with
      Flash 8 (8+)
  • Size/Info
      40kb
  • Tags
         

File Browser

Flash File browser with PHP. All source files included.

Some features:

  • Download files
  • Upload multiple files
  • Delete files
  • Highlight multiple files with shift or ctrl
  • View images
  • View SWF 's
  • Dragable interface
  • Play MP3 's
  • Use delete key to delete files from MP3 list
  • Big icon set for different filetypes
  • Create new folder
  • Delete folder

How to modify the file:

  1. Add component to stage
  2. Add this peace of code to the root:
    import mx.events.EventDispatcher;
    EventDispatcher.initialize(this);
  3. Modify the parameters in panel.
    For instructions on how to modify parameters dynamically:
    startf:String (root folder name. Example:"my_folder/";)
    rows:Number (number of rows in the combobox)
    phpf:String (PHP folder name. Example: "php_folder/";)
    picEnabled:Boolean (if the picviewer should show or not)
    dragEnabled:Boolean (if the file browser should be dragable)

Redy to use!
The browser dispatch events like:
onDoubleClick (when double click on file)
onClick (when select/highlight file)
onCtrlClick (when selecting multiple files with ctrl button)
onCtrlDoubleClick (when double clicking multiple files)
onExit (when pressing the top right exit button)