Close Flash Player from FlashDevelop IDE
Asked Answered
R

3

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.

Rummel answered 4/7, 2011 at 20:52 Comment(0)
B
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.

Bollinger answered 29/8, 2012 at 3:26 Comment(0)
L
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.

Laurelaureano answered 7/7, 2011 at 13:31 Comment(7)
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.Rummel
Have you tried other test modes in project/properties/Test Movie? Such as new tab, popup or external player?Laurelaureano
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).Rummel
Do you have the debug version of the Flash Player ActiveX (the one used by Internet Explorer and these two modes)?Laurelaureano
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?Rummel
To be honest, I always debug in firefox or in adl (which is closed by FD) so I'm just making blind guesses, sorry.Laurelaureano
Ok, thanks. Thinking of using air just for development to get adl :\Rummel
B
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.

Bollinger answered 29/8, 2012 at 3:26 Comment(0)
R
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

Rummel answered 8/7, 2011 at 19:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.