`

Waiting for Flash Player to connect to debugger...

    博客分类:
  • Flex
 
阅读更多

当使用Flex进行debug的时候,老是出现这个错误。Waiting for Flash Player to connect to debugger...

连了半天都连不上。查了下原因,网上大部分都是这个这样说的。

 

引用原文:
I have just had the most frustrating afternoon I can remember in a long time. I’ve been using Flex 3 and have recently upgraded to the Flash Player 10 debug version. Since then, every time I try to run an application in debug mode I get the message “Waiting for Flash Player to connect to debugger” which never actually completes.
I’ve spent several hours trying out the various solutions suggested for this and was just about to resort to uninstalling version 10 and replacing it with version 9 when I came across “nPawn’s” post on this very subject and the answer is very simple:

1.Run your application in debug mode    在debug模式下运行application
2.Right click over the Flash movie   右键点击(打开flash player的右键菜单)
3.Change the option from Localhost to “Other Machine”     选择"调试器"项,单选"其他机器"
4.Type the IP address 127.0.0.1     输入IP 127.0.0.1
5.Click Connect   点击"连接"
Problem solved. Go figure why you have to change from Localhost to Other Machine. Absolutely no documentation on this whatsoever from Adobe. Really, really, rubbish.

但是我发现跟浏览器也有关系,在eclipse里使用IE的话就可以,使用firefox就不行。

设置在eclispe用哪种浏览器打开使用:window->preferences->General->Web Browser

 

既然IE可以的话,我就使用IE进行debug里。firefox不行也就不管了。。。。

 

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics