SWF转换成GIF文件 [英] Converting SWF into GIF file

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

问题描述

我有我的加载远程SWF文件到我自己的Flash文件。现在,我想要做的是将其转换远程SWF文件转换为GIF,我可以保存到我的服务器。

I have a flash file where I load a remote SWF file into my own. Now what I want to do is convert that remote SWF file into a GIF that I can save onto my server.

远程文​​件是一个SWF具有框架的变量量,我莫名其妙地需要能够找出帧的数量(I presume),并采取每帧的快照(图片)打开拍摄的照片到一个GIF文件。这就是我认为有许多工作要做,但我不知道,如果它来拍照的远程SWF文件/快照甚至有可能。

The remote file is a SWF that has a variable amount of frames, and I somehow need to be able to figure out the amount of frames (I presume), and take a snapshot (picture) of every frame, to turn the taken pictures into a GIF file. That's what I THINK has to be done, however I have no idea if it's even possible to take pictures/snapshots of remote SWF files.

我需要我怎么能得到这个工作,一些严重的建议。我是一个严重的Flash新手,而且什么都将会有所帮助。

I need some serious suggestions on how I could get this working. I'm a serious Flash newbie, and anything would help.

推荐答案

<一个href="http://stackoverflow.com/questions/2450381/trying-to-capture-stage-area-using-bitmapdata/2450454#2450454">Trying使用的BitmapData 捕捉舞台区

var bmd:BitmapData = new BitmapData(stage.stageWidth, stage.stageHeight);
bmd.draw(stage);

这将帮助你创建动画GIF: http://www.bytearray.org/?p=93

And this should help you creating the animated GIF: http://www.bytearray.org/?p=93

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

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