Flex调试工具的安装

一、IEflex调试的安装

Flex builder 3.0中使用trace( )调试时(debug方式运行,也可直接按F11运行。如果不是debug方式运行,trace函数的内容是不会输出的),弹出提示:
Installed Flash Player Is Not a Debugger
C:\Windows\System32\Macromed\Flash\Flash10a.ocx
Flex Builder cannot locate the required debugger version of Flash Player. You might need to install the debugger version of Flash Player 9 or reinstall Flex Builder.
Do you want to try to debug with the current version?


这是因为:flex builder 3 默认安装的是flash player debugger 9.而最新的是 player 10 debugger版。如果安装的是10a,也会偶尔提示这个错误。

下载http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_ax_debug.exe

或者

www.adobe.com/support/flashplayer/downloads.html

寻找到相对应的Flex版本安装后重启Flex应用程序就可以了。


如果出现不能安装的情况,可能是版本冲突,无法自动卸载已安装的版本。

解决安装 Adobe Flash Player ActiveX 控件失败的方法(也可以试试只执行第3步卸载操作)

1、下载 Flash Player 卸载器,执行卸载操作
http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player.exe;

或者 执行

C:\WINDOWS\system32\Macromed\Flash\下的卸载文件

卸载完成 重启电脑,在安装flashplayer_10_ax_debug.exe ,这样就可以了.

 

2、在eclipse中要指定浏览器

flex配置浏览器的路径如下:window->preference->Genernal->Web Browser,如图

Flex调试工具的安装 - 花落谁家 - zhangcb666的博客

 

选择 使用外部web浏览器

选择 Internet Exporer 点击应用

这样就可以开始调试了

 

二、Firefox下使用Flash Player Debugger版本

官网下载页下载Flash Player 10 Plugin content debugger (for Netscape-compatible)

官方下载 选择 Download debugger build plug-in for Windows   针对非IE浏览的插件下载  目前最新的版本是v10.1.53.38 RC4
http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_1_rc4_debug_plugin_050510.exe
http://labs.adobe.com/downloads/flashplayer10.html

1.      安装完以后不要忘记最后一步,把C:\Windows\System32\Macromed\Flash\下的NPSWF32.dll文件复制到Firefox安装目录的plugin文件夹中,这样子完了以后就可以在Firefox中调试Flash了。话说未安装debug版之前这个dll只有几百K,装完以后变成4M

如果C盘中如果没有找到NPSWF32.dll

也可在用firefox插件 安装以下firefox插件

1> Cache status

2> Fireflash

3> Flashbug

4> httpfox

2、在eclipse中设置浏览器

方法:window->preference->Genernal->Web Browser

选择 使用外部web浏览器

选择 fileFox 点击 应用

这样就可以开始调试了


推荐几个 firefox 下开发flex的插件
HttpFox 能查看 HTTP 通信的过程和数据,还能看到哪些内容是从 Cache 里面读取的

FlashTrace
r  能显示您在程序中用 trace() 语句输出的调试信息  下载地址 http://www.sephiroth.it/firefox/flashtracer/  https://addons.mozilla.org/zh-CN/firefox/addon/3469
FBTracer  

该工具能在fireBug 显示trace() 语句输出的调试信息 下载地址 http://www.sephiroth.it/firefox/fbtracer/
Flash Switcher
该工具能方便切换flashplayer 的版本调试环境 下载地址 http://www.sephiroth.it/firefox/flash_switcher/
Cache Status
可以让我们方便的管理缓存 下载地址 https://addons.mozilla.org/zh-CN/firefox/addon/1881
fireflash  
也是一个firebug的辅助插件 用来调试AS3 工具 查看类 对象 数组等  下载地址 https://addons.mozilla.org/zh-CN/firefox/addon/55979
官方视频教程 http://www.actionscript-flash-guru.com/blog/21-fireflash-firebug-console-for-flash?Doc
AMF Explorer
用来调试flex和数据库连接的AMF 插件 下载地址 https://addons.mozilla.org/zh-CN/firefox/addon/78928

 

posted on 2011-03-12 22:18  小炒花生米  阅读(10561)  评论(0编辑  收藏  举报