7

Whenever I compile my project using FlashDevelop in 'Debug' the Flash Player window remains after I have clicked the 'Stop' button in Flash Develop. I have to then switch over to the flash player, click through any error messages and then close the player, which wastes a lot of time in the long run.

Any way to make it so Flash Player closes when I click 'Stop' in the Flash Develop debug tools?

EDIT:

My setup is a fresh install of Windows 7, a new copy of Flash Develop 4 and Flash Player 10.

Pablo Claus
  • 5,886
  • 3
  • 29
  • 38
Josh Mohan
  • 496
  • 6
  • 15

3 Answers3

6

You may disable the error popup in your Flash Player by editing your mm.cfg file (which is in your Windows' user folder). Just add the following:

SuppressDebuggerExceptionDialogs=1

Then the Flash Player will nicely be killed when you stop FlashDevelop debugging. BTW, you will still be able to read the errors in the trace.

Kodiak
  • 5,978
  • 17
  • 35
  • Hi, thanks for the tip! We are halfway there since the dialog boxes no longer pop up, but the Flash Player still sticks around after I hit the stop button. – Josh Mohan Jul 07 '11 at 15:23
  • Have you tried other test modes in project/properties/Test Movie? Such as new tab, popup or external player? – Kodiak Jul 08 '11 at 10:59
  • The project settings are 'external' by default, so external is the one with the problem. When I tried 'new tab' and 'popup', I lose all the debug functionality (breakpoints, stop, step through). – Josh Mohan Jul 08 '11 at 14:51
  • Do you have the debug version of the Flash Player ActiveX (the one used by Internet Explorer and these two modes)? – Kodiak Jul 11 '11 at 09:44
  • I do have the FP mentioned, the same one suggested by the FD team on their install page. Just to check, this works for you Kodiak? – Josh Mohan Jul 18 '11 at 20:14
  • To be honest, I always debug in firefox or in adl (which is closed by FD) so I'm just making blind guesses, sorry. – Kodiak Jul 19 '11 at 15:31
  • Ok, thanks. Thinking of using air just for development to get adl :\ – Josh Mohan Jul 19 '11 at 21:09
2

In FlashDevelop/Settings/ToolBar.xml just put this line

<button label="Kill FlashPlayer" click="RunProcess" tag="taskkill;/f /t /im FlashPlayerDebugger.exe" image="197" />

and restart FD.

user1631942
  • 44
  • 1
  • 2
1

I've asked this question in the Flash Develop forums and an admin informed me that this is a feature that they are currently thinking about including but that it FD cannot close the Flash Player atm.

http://www.flashdevelop.org/community/viewtopic.php?f=13&t=8442&sid=be1affc07163323a49000722e6b86ce1&p=39291#p39291

Josh Mohan
  • 496
  • 6
  • 15