使用 Java 编辑 Flash
有没有办法动态生成swf文件?
或者在“编译”为swf后插入变量?
或者向fla中插入变量然后编译成swf?
(我使用的是flash lite 1.1(并且flash设置为背景),所以我无法从swf文件外部读取任何内容,这就是我需要这个的原因)
(我想使用java(但任何其他编程语言没问题)。)
Is there any way to dynamically generate an swf file?
Or insert variables after it's "compiled" to swf?
Or insert variables to the fla and then compile it to swf?
(I'm using flash lite 1.1 (and the flash is set to background) so i can't read anything from outside the swf file, that's why i need this)
(I'd like to do this using java (but any other programming language is ok).)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有几个库,但正如我在上面的评论中所述,您需要非常小心,仅使用 Flash Lite 1.1 中支持的功能(这是这些库可以执行的功能的非常有限的子集) )。但是,它们确实以正确的虚拟机版本 (AVM1) 为目标 - 因此一些基本的 ActionScript 操作将起作用。
Java/SWF
年纪大了,看上去被遗弃了,但似乎联系紧密。
TransformSWF
更现代,支持 FP7,因此您必须小心使用哪些功能。
There are a couple of libraries out there, but as I stated in the comment above, you'll need to be very careful to only use features that are supported in Flash Lite 1.1 (which is a very limited subset of what these libraries can do). However, they do target the correct virtual machine version (AVM1) - so some basic ActionScript manipulation will work.
Java/SWF
Older, looks abandoned, but seems to be highly linked to.
TransformSWF
More modern, support FP7 so you'll have to be careful with which features you use.