Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Close Flash Player from FlashDevelop IDE

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.

like image 642
Josh Mohan Avatar asked Jul 04 '11 20:07

Josh Mohan


2 Answers

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.

like image 53
Kodiak Avatar answered Oct 07 '22 23:10

Kodiak


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.

like image 41
user1631942 Avatar answered Oct 07 '22 23:10

user1631942