Flash file browser by AS2 & PHP5
This is a flash file browser made in Flash 8.
Using Actionscript 2.0 and PHP5.
Flash File browser with PHP 5.0
All source files included
Some features:
Download files
Built-in FLV player
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
Very good to use in
CMS Content Management System
Buy this file at Flashden.net
How to modify the file:
- Add component to stage
- Add this peace of code to the root:
import mx.events.EventDispatcher;
EventDispatcher.initialize(this);
- 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)