用于优化/最小化 swf 文件大小的工具

发布于 2024-08-09 05:23:19 字数 476 浏览 4 评论 0原文

我正在开发一个大型 Flash 网站,其中包含大量组件 swf 和大量多媒体(视频、音频、图像)内容。文件大小很快变得荒谬,我正在寻找解决方案 - 我想尽可能减少用户等待时间(并且我的艺术方向是最小化多媒体不是一个选项)。显然,在将资源引入 Flash 之前可以采取一些步骤来最小化资源(视频压缩等),但是您是否建议使用任何第三方工具来分析和进一步优化已编译的 swf?

快速 google 搜索 产生大量点击,其中大多数似乎来源可疑;您过去发现哪些方法有用?

谢谢,

贾斯汀

I'm working on a big flash site with lots of component swfs and a ton of heavy multimedia (video, audio, image) content. File sizes are quickly getting ridiculous and I'm looking around for solutions--I want to minimize user wait time as much as possible (and my art direction is such that minimizing multimedia isn't an option). Obviously, there are steps that can be taken to minimize assets before bringing them into Flash (video compression, etc), but are there any third-party tools that you'd recommend using to analyize and further optimize compiled swfs?

A quick google search yields a ton of hits, most of which seem to be of dubious pedigree; what sorts of approaches have you found useful in the past?

Thanks,

Justin

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

街角迷惘 2024-08-16 05:23:19

最简单的第一遍工具是 Flash 中内置的“生成尺寸报告”功能。

在 CS4 中,转到发布设置 --> Flash 选项卡并选中“生成尺寸报告”框,然后发布。

Flash 现在将创建一个文本文件,其中列出所有资源及其字节大小。

您可以使用此报告来识别您的高调目标并进行基本优化(jpeg 在不损失视觉质量的情况下尽可能多地压缩位图,根据使用情况仅嵌入字体子集,尽可能多地压缩音频而不失真,这样的的事物)

The simplest first pass tool to use is the built in 'Generate size report' function in Flash.

In CS4, go to your publish settings-->Flash tab and check the 'Generate size report' box, then publish.

Flash will now create a text file with a listing of all assets and their byte sizes.

You can use this report to identify your high profile targets and do basic optimizations (jpeg compress bitmaps as much as you can without losing visual quality, embed only subsets of fonts according to usage, compress audio as much as is possible without distortion, that sort of thing)

冰火雁神 2024-08-16 05:23:19

如果它是“一个大型 Flash 站点”,那么您永远不应该用一个 swf 来容纳所有内容。

通常,每个页面都创建为 swf,并有一个主容器来根据请求动态加载它们。

此外,加载媒体元素而不是嵌入它们。它也能让您更轻松地管理网站。

更新:

抱歉,我没有注意到您已经完成了这些...我认为剩下的选项实际上是尝试那些 swf 优化器。

我想过在服务器端使用 Gzip,但似乎 有问题

顺便说一句,我发现了这个

If it is "a big flash site", you should never have a single swf to hold all the things.

Usually each page is created as a swf and have a main holder to load them dynamically on request.

Also, loads the media elements instead of embedding them. It will let you manage the site easier too.

Update:

Sorry that I haven't noticed you've already done these... I think the remainning option is really trying those swf optimizer.

I've thought of using Gzip on server side, but seems that there is problem.

BTW, I found this one.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文