Adobe Flash SWF 缩放质量较差
我有一个以 800x600 分辨率渲染的 flash swf 动画。由于浏览器工具栏中的所有垃圾,我发现很多屏幕分辨率为 1024x768 的人无法将整个视频放入浏览器查看区域。我想将动画缩小到 720x540。然而,每当我使用 Flash 的内置缩放机制时,视频就会变得非常锯齿且难看。
如果我将 swf 转换为 Quicktime 视频,它会非常平滑地缩小。然而,视频的大小显着增加。
有没有办法让flash动画平滑缩小?我可以使用第三方工具和/或制作新的 swf。不过,如果可能的话,我想使用 swf 格式。
I have a flash swf animation that is rendered in 800x600 resolution. Because of all of the junk in browser toolbars, I'm finding that a lot of people with 1024x768 screen resolution are not able to fit the entire video into their browser viewing area. I'd like to scale the animation down to 720x540. However, whenever I use the built-in scaling mechanisms for flash, the video becomes very jagged and ugly.
If I convert the swf to a quicktime video, it scales down very smoothly. However, the size of the video goes up pretty dramatically.
Is there a way to get a flash animation to scale down smoothly? I'm fine with using third-party tools and/or making a new swf. However, I'd like to use the swf format if possible.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用视频元素的
smoothing
属性使其缩放更平滑:http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Video.html#smoothing
You can us the
smoothing
property of the video element to make it scale more smoothly:http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Video.html#smoothing
在 Flash 中创建的大多数内容都是矢量,因此除非您在 Flash 视频内渲染光栅内容(即来自外部的图像/视频),否则如果您只是以不同的大小将其嵌入到页面中,它应该看起来不错。例如,不必费心尝试在 .flv 文件内调整它的大小,只需在页面上使用 CSS 设置嵌入的 .swf 的高度和宽度,我会在其中的图像应该缩放良好。 (它应该向上或向下缩放)。这就是矢量的魅力。
Most content created in Flash is vector, so unless you were rendering raster content insider your flash video (i.e. images/video from the outside), it should look fine if you just embed it in your page at a different size. As in, don't bother trying to resize it inside the .flv file, simply set the height and width of the embedded .swf using CSS on your page and I would image in it should scale fine. (it should scale upwards or downards fine). That's the beauty of vector.