在不需要 AIR 的情况下使用 Flex 3 从 SWF 创建 EXE? [英] Create an EXE from a SWF using Flex 3 without requiring AIR?

查看:26
本文介绍了在不需要 AIR 的情况下使用 Flex 3 从 SWF 创建 EXE?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用 Flex 3(MXML 和一些 AS3)编写的简单小测试应用程序.我可以把它编译成 SWF 就好了,但我想把它做成一个 EXE,这样我就可以把它交给我的几个同事,他们可能会觉得它很有用.

I have a simple little test app written in Flex 3 (MXML and some AS3). I can compile it to a SWF just fine, but I'd like to make it into an EXE so I can give it to a couple of my coworkers who might find it useful.

使用 Flash 8,我可以只针对 EXE 而不是 SWF,它会将 SWF 包装在投影仪中,一切正常.是否有使用 Flex 3 SDK 的等效项,但最终不需要 AIR?

With Flash 8, I could just target an EXE instead of a SWF and it would wrap the SWF in a projector, and everything worked fine. Is there an equivalent to that using the Flex 3 SDK that doesn't end up requiring AIR?

注意:我没有 Flex Builder,我只是使用免费的 Flex 3 SDK.

Note: I don't have Flex Builder, I'm just using the free Flex 3 SDK.

推荐答案

在您的 Flex SDK 文件夹中,您应该会看到一个runtimes\player\win\FlashPlayer.exe",它是一个独立的 Flash 播放器.用它打开您的 SWF,您将在文件"菜单中看到创建投影仪..."菜单项,该菜单项将创建独立的 EXE.

In your Flex SDK folders you should see a 'runtimes\player\win\FlashPlayer.exe' which is a stand alone Flash player. Open your SWF with that and you'll see a 'Create Projector...' menu item in the File menu which will create the stand-alone EXE.

这篇关于在不需要 AIR 的情况下使用 Flex 3 从 SWF 创建 EXE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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