ACE

Calendar

March 2007
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 30 31

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


« HTML Control | Main | Balls – Transparent Apollo Sample – full source code »

FileSystem Components

By Rich Tretola | March 19, 2007
3,983 views

The FileSystem components are a new set of components specific to Apollo 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
13
14
15
16
17
<?xml version=â€1.0″ encoding=â€utf-8″?>
<mx:ApolloApplication xmlns:mx=â€http://www.adobe.com/2006/mxmlâ€
layout=â€absoluteâ€>
<mx:Script>
<![CDATA[
import flash.filesystem.*;
]]>
</mx:Script>
<mx:FileSystemDataGrid width=â€555″ height=â€154″ x=â€6″ y=â€7″
directory=â€{File.desktopDirectory.resolve(â€)}†/>
<mx:FileSystemComboBox x=â€10″ y=â€169″
directory=â€{File.desktopDirectory.resolve(â€)}â€/>
<mx:FileSystemTree x=â€10″ y=â€199″ width=â€291″
directory=â€{File.desktopDirectory.resolve(â€)}â€/>
<mx:FileSystemList x=â€309″ y=â€169″
directory=â€{File.desktopDirectory.resolve(â€)}â€/>
</mx:ApolloApplication>

Here is the result:

filesystemcomps.jpg

Topics: Adobe AIR, Tutorials | No Comments »

Comments



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

Mobilized by Mowser Mowser