RemoteFileList components
The RemoteFileList components can be used to browse a remote file system.
The four components -
RemoteFileGrid, RemoteFileTile, RemoteFileList, RemoteFileHList - extend list based components
with properties and methods that allow navigation and file operations.
The server side code is an
amfphp class placed in
amfphp/services/flashcommander_lib_1_0/FileList.
Flashcommander is built from the RemoteFileGrid and RemoteFileTile components.
Usage
You can simply import the downloaded files as a Flex project.
If you create a new Flex project you have to add libs/flashcommander_lib.swc to the build path.
To do this open "Project properties/Flex Build path" and on the "Library path" tab add flashcommander_lib.swc to the project.
The php code is in the amfphp folder - copy this folder to your webserver.
Create a new Flex project and a RemotFileGrid component:
<filelist:RemoteFileGrid id="fileGrid"
endpoint="http://localhost/remotefilelist/amfphp/gateway.php"
directory="../../../user" />
The endpoint of a RemoteFileList should point to amfphp/gateway.php.
You also have to specify a directory to display - this is a relative path from amfphp/services/flashcommander_lib folder.
For more details check the
sample applications (bin folder) and the
Actionscript reference (doc folder).
License
You can use the components for free.