为什么我的SWF文件大小在减少内容时不会减少? [英] Why does my SWF file size not decrease when reducing content?

查看:158
本文介绍了为什么我的SWF文件大小在减少内容时不会减少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常我会发现,如果我的SWF文件大小很大,完全删除媒体或者删除并重新插入压缩版本的图像,声音等,对所产生的SWF文件大小几乎没有影响。我曾尝试删除SWF以允许Flash从头开始重新创建,但它没有区别。有没有人经历过这个和/或知道一个解决方案?谢谢。

解决方案

确保您删除了对库中所有文件的引用。例如,如果您有一个链接的资源(即正在导出以供在actionscript中使用的资源),即使您在舞台上没有该资产,也将使用swf进行编译。此外,从FLA中删除项目时,使用文件>保存和压缩...这将清理您的文件并优化它。请参阅后续信息以获取更多信息。



http://www.derekallard.com/blog/post/flash-save-and-compact/


Often I find if my SWF file size is on the large side, when deleting media altogether or perhaps deleting and re-inserting compressed versions of images, sound etc, it has little or no effect on the resulting SWF's file size. I have tried deleting the SWF to allow Flash to recreate it from scratch but it makes no difference. Has anybody else experienced this and/or know of a solution? Thanks.

解决方案

Make sure you are deleting all your references to the files in your library. For example, if you have a linked asset (i.e. one that is being exported for use in actionscript), even if you don't have that asset on the stage, it will be compiled with the swf. Also, when you delete items from the FLA, use File > Save and Compact ... this cleans up your file and optimizes it. See the follow post for more information...

http://www.derekallard.com/blog/post/flash-save-and-compact/

这篇关于为什么我的SWF文件大小在减少内容时不会减少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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