AS3生成动态的SWF? [英] AS3 to Generate Dynamic SWF?

查看:164
本文介绍了AS3生成动态的SWF?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能,使用AS3,以编程方式生成一个.swf文件?什么我的小的应用程序确实是加载了一堆图像,使用的FileReference,现在我想将它们编译成一个独立的SWF,用户可以下载(瑞士法郎将是一个幻灯片)。

Is it possible, using AS3, to programmatically generate a .swf file? What my little app does is load a bunch of images, using FileReference, now I want to compile them into a stand-alone swf that the user can download (the swf will be a slideshow).

似乎有一些错误的理解了什么,我问。我想有一个编译的SWF从中用户可以选择一些图像和preSS按钮借此SWF将创建和编译包含第二瑞士法郎表示的图像。由于这是一个独立的应用程序,将不会有服务器端的交互

There seems to be some mis-understanding of what I am asking. I want to have one compiled swf from which the user may select some images and press a button whereby the swf will create and compile a second swf containing said images. As this is a stand-alone app, there will be no server-side interaction.

我在想的是,将会有一个字符串,再presenting动态类。当用户选择他们的图像相应的嵌入标签被添加到这个串中,然后编译并保存到用户的桌面。

What I am thinking is that there will be a string representing a dynamic class. When the user selects their images the appropriate embed tags are added to this string, which is then compiled and saved to the user's desktop.

所以我的问题是,可以在编译的SWF生成和编译第二瑞士法郎?

So my question is, can a compiled swf generate and compile a second swf?

推荐答案

看看这个库,这使您可以创建一个.swf在运行。 https://github.com/claus/as3swf

Take a look at this library, this allows you to create a .swf at runtime. https://github.com/claus/as3swf

这篇关于AS3生成动态的SWF?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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