ActionScript中获取所有的网络活动? [英] ActionScript Get All Network Activity?

查看:178
本文介绍了ActionScript中获取所有的网络活动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有内部的ActionScript 3.0的方式:

Is there a way within ActionScript 3.0 to:

  • 在获取所有URLRequests(),它们在应用程序中做?
  • 在获取所有RTMP://连接到Flash媒体服务器

由于我的应用程序中包含这是由另一名开发人员编译SWC文件,我不能直接访问它创建的URL请求和RTMP连接动作。

Since my application contains SWC files which were compiled by another developer, I cannot directly access the ActionScript which creates the URL requests and RTMP connections.

感谢您的宝贵时间。

推荐答案

  • 您可以使用Web调试代理来监视通过网络发送的所有邮件。我喜欢用查尔斯因为它反序列化的AMF的消息,这样你可以阅读它们。这不是免费的,但你可以使用它,只要你想反正。你只得到一个恼人的延迟每过一段时间。

  • You can use a web debugging proxy to monitor all messages that are sent over the wire. I like to use Charles because it deserializes AMF messages so that you can read them. It's not free, but you can use it as long as you want anyway. You'll just get an annoying delay every once in a while.

    萤火虫有很多内置的(即使是Flash Remoting的)功能。转至网络面板中,你会看到一个闪光选项卡。您的应用程序在浏览器这一块,虽然运行,不只是在独立的调试flash播放器。

    Firebug has a lot of functionality built-in (even for Flash remoting). Go to the 'Net' panel and you'll see a 'Flash' tab. Your application has to run in the browser for this one though, not just in the standalone debug flash player.

    如果您使用的是FlashBuilder,它有一个名为网络监视器,做同样的事情看法。我依然preFER查尔斯,但因为它有更多的功能。

    If you're using FlashBuilder, it has a view called 'Network Monitor' that does the same thing. I still prefer Charles though because it has more features.

    的Adobe刚刚发布了 SWF调查的实验室,这似乎让你把你的编译SWC的分开以及拦截AMF消息。我不能告诉你更多,因为我从来没有与它的工作。 (道具@Eduardo这一个)

    Adobe just released SWF investigator on Labs, which seems to allow you to take your compiled swc's apart as well as intercepting AMF messages. I can't tell you more since I've never worked with it. (props to @Eduardo for this one)

    这篇关于ActionScript中获取所有的网络活动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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