ACE

Calendar

February 2008
S M T W T F S
  1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29  

Tag Cloud

360Flex actionscript air air 2 android apple as3 books conference contest cookbook deeplinking Dreamweaver F3 v. F4 FileReference flash flash builder Flash Player flashplayer flashplayer10 Flex flex3 flex4 flexbuilder flickr fotobooth google gumbo ImageDropR InsideRIA iphone java load() localconnection max max 2009 merapi microsoft mobile nexus one pixel bender save() SilverLight training updatemanager

Categories

Archives

Recent Posts

Recent Comments


« Write your first file to the file system using AIR | Main | File and FileStream within AIR »

AIR FileSystem Components

By Rich Tretola | February 25, 2008
2,703 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



You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser