The following example shows how you can detect the default encoding used by the host operating system by using the static File.systemCharset property.
Full code after the jump.
{ 0 comments }
A bunch of Adobe AIR examples*
Posts tagged as:
The following example shows how you can detect the default encoding used by the host operating system by using the static File.systemCharset property.
Full code after the jump.
{ 0 comments }
In a previous example, “Browsing for individual files on a user’s computer using Adobe AIR”, we saw how you could browse for a single file on the user’s computer in Adobe AIR by calling the browseForOpen() method on a File object.
The following example shows how you can browse for multiple files on the user’s computer in Adobe AIR by calling the browseForOpenMultiple() method on a File object.
Full code after the jump.
{ 1 comment }
In a previous example, “Browsing for directories on a user’s computer using Adobe AIR”, we saw how you could browse for a directory on the user’s computer in Adobe AIR by calling the browseForDirectory() method on a File object.
The following example shows how you can browse for a single file on the user’s computer in Adobe AIR by calling the browseForOpen() method on a File object.
Full code after the jump.
{ 0 comments }
The following example shows how you can browse for a directory on the user’s computer in Adobe AIR by calling the browseForDirectory() method on a File object.
Full code after the jump.
{ 3 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 }
The following example shows how you can access the folder containing the Adobe AIR application’s installed files by using the static File.applicationDirectory property.
Full code after the jump
{ 0 comments }