编程之路

——火地晋

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

 官网:http://o-minds.com/products/flashfirebug

FlashFireBug必须依赖于 Flash Player debugger  而使用。

在谷歌浏览器(Chrome)下 ,需要依赖浏览器自带的开发者工具来使用,

而在火狐狸使用FlashFirebug必须同时安装有:

FlashFirebug(在firefox上查找安装即可)

Firebug (在firefox上查找安装即可)

Flash Player content debugger 10 or higher 下载地址

http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_plugin_debug.exe

参考自:http://hi.baidu.com/cainao1hao/blog/item/563bd83bfb404afc14cecbc9.html

 

然后FlashFirebug有独立的打开按钮面板什么的,必须在Firebug里的面板中使用。

参考资料:http://flashphp.org/blog/2011/05/flashfirebug/

 

FlashFirebug是一款可以让开发者在浏览器中直接调试Flash程序的Firefox扩展。通过这款扩展,开发人员可以像在浏览器中调试HTML/JS/CSS那样来直观的进行AS3的调试,操作界面则与Firebug一致。通过这款扩展,Firebug可以覆盖几乎全部的Web开发人员调试需求。

使用Flashfirebug需要安装firefox(当然!)、firebug以及debug版本的flash播放器.

 

使用FlashFirebug debug swf的办法。

首先使用FlashBuilder新建一个as3.0项目,然后使用flash.display.Loader 把要debug的swf加载进来即可。

否则,直接使用浏览器打开swf,FlashFirebug是看不到这个swf的。

public class test extends Sprite
{
    private var loader:Loader;

    public function test()
    {
        loader=new Loader();
        loader.load(new URLRequest("search.swf"));
        stage.addChild(loader);
    }
}
View Code

 

 小技巧:

使用退格键和删除键删除是很难删除属性里的字符的(如果很长很长的话),那么可以进入编辑状态,然后右键,全部选择,剪切。

posted on 2011-08-29 16:18  火地晋  阅读(10306)  评论(0编辑  收藏  举报