1。FileSystemComboBox
.directory = File.appli / desk/doc / directoryChange
2、FileSystemTree可返回 好用
3、FileSystemList不可返回 navigateUp返回上一级
4、FileSystemDataGrid 目录详细信息
5、FileSystemHistoryButton http://help.adobe.com/zh_CN/AIR/1.1/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7f49.html
6、html嵌入简单页面 location 复制 有前进后退
7、FlexNativemenue 菜单
一、系统菜单
<?xml version="1.0" encoding="utf-8"?> <!-- aircomponents/src/NativeMSimple.mxml --> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <s:menu> <mx:FlexNativeMenu dataProvider="{myMenuData}" labelField="@label" showRoot="false"/> </s:menu> <fx:Declarations> <fx:XML format="e4x" id="myMenuData"> <root> <menuitem label="MenuItem A"> <menuitem label="SubMenuItem A-1" type="check" toggled="true"/> <menuitem type="separator"/> <menuitem label="SubMenuItem A-2"/> <menuitem label="SubMenuItem A-3"> <menuitem label="Sub-SubMenuItem A-3-1"/> <menuitem label="Sub-SubMenuItem A-3-2" enabled="false"/> <menuitem label="Sub-SubMenuItem A-3-3"/> </menuitem> </menuitem> <menuitem label="MenuItemB"> <menuitem label="SubMenuItem B-1"/> <menuitem label="SubMenuItem B-2"/> </menuitem> </root> </fx:XML> </fx:Declarations> </s:WindowedApplication>
二、menu.setContextMenu(this) 右键菜单
三、弹出式菜单
四、事件
menu.addEventListener(Event.Select, selectHandler);
function selectHandler(event:Event):void {
trace("Menu item selected: " + event.target.label);
}
menue.display(this.stage,10,10);
8、窗体容器
一、NativeWindow
二、WindowedApplication
三、Windows容器 文件--新建--MXML组件 更改为window , open
9、