Flash Builder 4 - Flash Player could not connect to the debugger

I just finished installing Adobe Flash Builder 4. I definitely installed the latest flash player from the Adobe website on my computer. In addition, in the Flash Builder 4 launch configurations, I changed the source path from the .html file to the .swf file that was generated. I do not need to test it in a web browser, I just want to run swf in a flash player.

I only have the 1.as file in my actionscript project, and there is no code in it except the package, class, and main function instructions. When I run the .html file, it works fine, and debugs is fine. However, when I switch the source path to a .swf file, it works fine, but does not debug !

When I debug it, the progress is stuck at 57%, and on the "Progress" tab it says "Waiting for Adobe Flash Player to connect to the debugger ...". After a few minutes, a window appears that says:

"Failed to connect. Session completed. Make sure that you started the application with debugging and that I have a debugger version of the flash player.

What can I do to fix this? I am on an Intel Mac running OS 10.6.5.

thank

+5
source share
5 answers

, Flash Player, , . " Flash Player 10.1" "Flash Player 10.1 " http://www.adobe.com/support/flashplayer/downloads.html

+3

.

, bin-debug bin-release, , . . FlashBuilder.

javascript. index.template. , , .

, ! , , .

+1
source

Make sure you're not using Chrome. At the time of writing the debug Flash Player, the debugger is not working in Chrome.

I had this problem and just switched the web browser to Safari in the Flash Builder settings.

0
source

what worked for me finally was copying swfobject.js to the bin-debug folder. I do not know why this was not, but it fixed the problem.

You, of course, must run the flash debugger version in your browser.

0
source

All Articles