ActionScript项目于AIR应用程序? [英] ActionScript Project to AIR Application?

查看:180
本文介绍了ActionScript项目于AIR应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不使用从Flash Flex的库或任何东西。我正在开发中的弹性生成一个纯AS3项目,我想部署为AIR应用程序。

我有什么选择?什么是最简单的?我在这里找一个直接的答案。

解决方案
  

运行,但说明不了什么......的   由于某种原因,这并不自动   实例化一个本地窗口。

而不是创建一个新的窗口,不重present主应用程序,只需拨打 stage.nativeWindow.activate(); 在主应用程序类

I'm not using the Flex libraries or anything from Flash. I'm developing a pure AS3 project in Flexbuilder which I would like to deploy as an AIR application.

What are my options? What's easiest? I'm having trouble finding a straight answer here.

解决方案

That runs, but shows nothing... for some reason this doesn't automatically instantiate a native window.

rather than creating a new window that doesn't represent your main application, simply call stage.nativeWindow.activate(); in your main application class.

这篇关于ActionScript项目于AIR应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆