Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/actionscript-3/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Actionscript 3 abobe air 3.8 NativeProcess.isSupported问题@启动窗口_Actionscript 3_Flash_Air_Adobe - Fatal编程技术网

Actionscript 3 abobe air 3.8 NativeProcess.isSupported问题@启动窗口

Actionscript 3 abobe air 3.8 NativeProcess.isSupported问题@启动窗口,actionscript-3,flash,air,adobe,Actionscript 3,Flash,Air,Adobe,第一个职位 我对NativeProcess.isSupported有问题 这是一个简单的应用程序,在abobe flash中制作,在AIR3.8.exe中发布。一切都很好: desktop extendedDesktop tv extendedTV NativeApplication.NativeApplication.startAtLogin=true//安装后,应用程序将使用win自动启动 NativeProcess.isSupported var file:file=file.applic

第一个职位 我对NativeProcess.isSupported有问题

这是一个简单的应用程序,在abobe flash中制作,在AIR3.8.exe中发布。一切都很好:

desktop extendedDesktop tv extendedTV NativeApplication.NativeApplication.startAtLogin=true//安装后,应用程序将使用win自动启动 NativeProcess.isSupported var file:file=file.applicationDirectory.resolvePathPC\u shutdown.exe//在电脑关机后 安装在windows 8中运行的setup.exe文件,这将在100%的时间内正常工作。手动启动

在代码中,应用程序以windows登录开始工作,但NativeProcess.Isupported随后为false,因此shutdown.exe将不会执行。但是,当我手动启动应用程序NativeProcess.Isupported时为true,并且执行.exe

第一次运行为false>关闭应用程序>重新启动然后为true???我不懂/不懂逻辑


thx

NativeProcess支持仅在将AIR应用程序打包为捆绑包时有效,即使用Adobe AIR的副本创建自包含的应用程序。这是通过在运行adt时指定-target bundle标志或-target native标志来实现的

关于adt捆绑包/本机安装程序标志