Search

 

February 2008
S M T W T F S
« Jan   Mar »
 12
3456789
10111213141516
17181920212223
242526272829  

Tags

Archives


« | Main | »

AIR FileSystem Components

By Rich Tretola | February 25, 2008
6,580 views

The FileSystem components are a new set of components specific to AIR which allow for easy access for browsing the file system. The example below defines the 4 files system components and points them to the systems desktop.

1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute" width="568" height="375">
    <mx:FileSystemDataGrid width="555" height="154" x="6" y="7"
    directory="{File.desktopDirectory.resolvePath('')}" />
    <mx:FileSystemComboBox x="10" y="169"
    directory="{File.desktopDirectory.resolvePath('')}"/>
    <mx:FileSystemTree x="10" y="199" width="291"
    directory="{File.desktopDirectory.resolvePath('')}"/>
    <mx:FileSystemList x="309" y="169"
    directory="{File.desktopDirectory.resolvePath('')}"/>
</mx:WindowedApplication>

Here is the result:

airfilesystemcomps.jpg

Topics: Adobe AIR | No Comments »

Comments