如何确定 swf 是针对哪个 Flash 播放器版本发布的? [英] How can I determine what flash player version a swf was published for?

查看:25
本文介绍了如何确定 swf 是针对哪个 Flash 播放器版本发布的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个来源不明的 SWF,我需要知道它发布时针对的是哪个 Flash 播放器版本.我如何获得这些信息?

I have a SWF of unknown origin, and I need to know which flash player version it was targeted at when it was published. How do I get this info?

推荐答案

SWF 文件的第 4 个字节携带版本号,例如 0A 代表 Flash Player 10.

The 4th byte in the SWF file carries the version number, for example 0A is for Flash Player 10.

由于对这个问题的高度关注,我决定提供更多反馈

Because of the high interest this question got I've decided to give more feedback

任何 SWF 文件的前 8 个字节都未压缩,文件的其余部分可以通过 zlib 压缩(或不压缩)进行压缩.

The first 8 bytes of any SWF file are not compressed, the rest of the file could be compressed (or not) by zlib compression.

  • 第一个字节:F"(未压缩)或C"(压缩).
  • 第二个字节:'W' 总是.
  • 第三个字节:'S' 总是.
  • 第 4 个字节:版本号(09 表示此文件针对 Flash Player 9 等...)
  • 第 5 到第 8 个:整个文件的长度(以字节为单位).

这篇关于如何确定 swf 是针对哪个 Flash 播放器版本发布的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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