When Adobe Flash Builder 4 cannot locate Adobe Flash Player & debug in Chrome

来源:互联网 发布:微信砍价活动源码免费 编辑:程序博客网 时间:2024/05/22 14:20

When Adobe Flash Builder 4 cannot locate Adobe Flash Player: (报错信息)

下载一个调试版的player就可以了

在adobe的网站上,有几种debug版本

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

第一个是IE的插件,

 

Download the Windows Flash Player 10.2 ActiveX control content debugger (for IE) (EXE, 2.99MB)

第二个是firefox的插件,

Download the Windows Flash Player 10.2 Plugin content debugger (for Netscape-compatible browsers) (EXE, 2.95MB)

安装了以上2个插件后,便可以用IE和firefox调试了。

第三个应该是桌面版本

Download the Windows Flash Player 10.2 Projector content debugger (EXE, 6.36MB)

到底是用IE还是firefox可以在window-> preference ->General->Web Browser 里选择合适的浏览。

我安装了chrome firefox ie,但选择里面没有chrome。但要用chrome来调试swf,也需要安装 for Netscape-compatible browsers 这个插件就行了。


PS:

默认打开时通过浏览器打开,也可以设置从AIR打开:

Project ->Properties->ActionScipt Compiler:   取消选择HTML wrapper。


--------------------------------------------------------------------------------------------------------

Debug in chrome browser:

从Google Chrome地址栏打开chrome://plugins/。看了一下,果然发现有2个Flash Player:

 

Shockwave Flash - 版本: 10,1,53,22 
说明:Shockwave Flash 10.1 r53
位置:C:\Users\Tony\AppData\Local\Google\Chrome\Application\5.0.375.23\gcswf32.dll
Shockwave Flash - 版本: 10,0,45,2
说明:Shockwave Flash 10.0 r45
位置:C:\Windows\system32\Macromed\Flash\NPSWF32.dll
看来Google 真是Adobe的Fans,还帮忙把Flash Player内置的应用程序中。
禁用内置版本。再尝试运行Flash,这下是Debug版本了。再调试Flex,也能够正常连接调试器了。


原创粉丝点击