AIR 用系统默认应用打开文件 Open with default App
来源:互联网 发布:趋势图指标源码 编辑:程序博客网 时间:2024/06/15 12:07
<?xml version="1.0" encoding="utf-8"?><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" styleName="plain" width="100%" height="100%"> <fx:Script> <![CDATA[ import flash.events.MouseEvent; import mx.controls.FileSystemDataGrid; protected function datagridHandler(event:MouseEvent):void { var fsg:FileSystemDataGrid = event.currentTarget as FileSystemDataGrid; if (fsg.selectedItem != null) (fsg.selectedItem as File).openWithDefaultApplication(); } ]]> </fx:Script> <s:Panel width="100%" height="100%" title="Open With Default Application Sample" skinClass="skins.TDFPanelSkin"> <s:VGroup top="10" left="10"> <s:Label width="660" verticalAlign="justify" color="#323232" text="The Open With Default Application support allows you to open any file with it's associated default application. Locate a fileitem in the file system grid and double-click it to see it in action:"/> <mx:Button icon="@Embed(source='up.png')" click="fileGrid.navigateUp();" enabled="{fileGrid.canNavigateUp}"/> <mx:FileSystemDataGrid id="fileGrid" directory="{File.desktopDirectory}" width="660" height="150" doubleClickEnabled="true" doubleClick="datagridHandler(event)"> </mx:FileSystemDataGrid> </s:VGroup> </s:Panel></s:WindowedApplication>
- AIR 用系统默认应用打开文件 Open with default App
- 在系统里设置文件默认打开APP
- webstrom open in default browser 在默认浏览器中打开快捷键
- 文件打开时open系统调用
- WindowForms调用系统默认程序打开文件
- 系统文件默认打开方式锁定
- 使用系统默认的程序打开文件
- [问答]Python 打开多个文件怎么使用 "with open"
- iOS App让自己的应用在其他应用中打开列表中显示、iOS把自己的应用添加到”活动“、将PDF文件Open In MyApp
- iOS App让自己的应用在其他应用中打开列表中显示、iOS把自己的应用添加到”活动“、将PDF文件Open In MyApp
- python 用open打开文件的经验
- Win10 怎么给php文件设置默认打开应用
- Android调用系统应用打开任意文件
- Android 系统默认打开文件的方法
- VC 用默认关联程序打开文件
- AIR移动平台打开图片文件
- AIR程序调用本地默认应用程序打开本地文件
- Android 系统第三方应用系统修改权限及在应用上层显示权限默认打开
- Skyhook的WPS定位技术
- C#与javascript简单交互
- php日期计算
- JFreeChart运用
- 关于FormsAuthentication.RedirectFromLoginPage()
- AIR 用系统默认应用打开文件 Open with default App
- 将flex组件添加到papervision3d
- 交叉编译
- text-overflow:ellipsis溢出文本显示省略号的详细方法
- SDRAM工作原理及S3C2410 SDRAM控制器配置方法(1)
- 桌面图标阴影去除方式
- 判断iframe是否加载完的完美方法
- Microwindows的消息机制的剖析
- Emacs 快捷键