The following example shows how you can toggle icons in the Adobe AIR FileSystemTree control by setting the showIcons property.
Full code after the jump.
{ 0 comments }
A bunch of Adobe AIR examples*
From the category archives:
The following example shows how you can toggle icons in the Adobe AIR FileSystemTree control by setting the showIcons property.
Full code after the jump.
{ 0 comments }
The following example shows how you can toggle hidden files on the Adobe AIR FileSystemTree control by setting the showHidden property.
Full code after the jump.
{ 0 comments }
The following example shows how you can get the selected path on an Adobe AIR FileSystemTree control by using the selectedPath property.
Full code after the jump.
{ 0 comments }
The following example shows how you can toggle file name extensions on the Adobe AIR FileSystemTree control by setting the showExtensions property.
Full code after the jump.
{ 2 comments }
The following example shows how you can create a custom label function on an Adobe AIR FileSystemTree control by setting the labelFunction property to a custom function.
Full code after the jump.
{ 0 comments }
The following example shows how you can automatically scroll to a node in an Adobe AIR FileSystemTree control by using the openSubdirectory(), findIndex(), and scrollToIndex() methods.
Full code after the jump.
{ 1 comment }
The following example shows how you can open a subdirectory on a Adobe AIR FileSystemTree by calling the openSubdirectory() method and passing in a native file system path.
Full code after the jump.
{ 0 comments }
In a previous example, “Setting the root directory on a FileSystemTree control in Adobe AIR”, we saw how you could set the root directory on a FileSystemTree control by setting the directory property to a File object.
The following example shows how you can detect when the directory property changes on an Adobe AIR FileSystemTree control by listening for the directoryChange event.
Full code after the jump.
{ 0 comments }
The following example shows how you can set the initial directory for the Adobe AIR FileSystemTree control by setting the directory property to a File object, which in this case is the user’s document’s directory.
Full code after the jump.
{ 3 comments }