分析现有闪存文件
我正在尝试对浏览器中的 Flash 对象进行一些研究。 例如内存使用情况等。 使用 Adobe Flex Builder 3,我尝试对 swf 文件进行一些分析,但问题是我只能在调试 swf 上执行此操作。 几乎所有添加/游戏/视频都是发布版本。 有没有办法对这些进行一些测试?
I'm trying to do some research on flash objects in browsers. For example memory usage etc.
With Adobe Flex Builder 3 im trying to do some profiling on swf files but the problem is that I can only do this on debug swfs. Almost all adds/games/video are release version. Is there a way to some testing on those?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
还有一个类似的问题,也发布在此处,因为它与此主题相关:
值得注意的是,Flash Player 的实现在每个平台上以及在某种程度上每个浏览器上都不同,因此预计速度会有显着差异。 因此,如果您正在开发资源密集型应用程序,您应该使用特定于您目标的每个操作系统的分析工具,例如 OS X 上的工具,当然还要测试每个浏览器中的性能。
There's a similar question, posting in here too as it's just as relevant in this thread:
It's important to note that the Flash Player implementation is different on each platform and to an extent each browser, so expect notable speed differences. So if you're developing a resource intensive application you should be using profiling tools specific to each OS you're targeting, like for example Instruments on OS X and of course test the performance in each browser.
我想说你需要获取来源。 您可以尝试反编译器。
I would say you will need to get the source. You could try a decompiler.
查看 flash.sampler。 您需要在 Flash 播放器的调试版本中运行内容,但内容本身不需要使用调试符号进行编译。
您可以使用PreloadSWF选项来注入可以监控的代理。 如果您只想了解内存使用情况,那么调用这个 API 很便宜。
Look at the flash.sampler. You will need to run your content in the debugging version of the Flash player, but the content itself doesn't need to have been compiled with debugging symbols.
You can use the PreloadSWF option to inject an agent that can monitor. If you just want memory usage, that's a cheap API to call.