Skip to content

FlashDevelop

Mark Knol edited this page Aug 27, 2013 · 15 revisions

Handy serve+build buttons in FlashDevelop toolbar

If you dislike building and starting flambe from commandline, try these handy buttons. Copy/paste Settings/toolbar.xml from your FlashDevelop folder to your FlashDevelop 'user config files' /settings/ folder. Then add this at end of file, before the </toolbar> node, and restart FD:

<separator />
<button label="Flambe serve" click="RunProcess" tag="c:\windows\system32\cmd.exe;/c cd $(ProjectDir) &amp; flambe serve &amp; PAUSE" image="490" />
<button label="Flambe build flash html" click="RunProcess" tag="c:\windows\system32\cmd.exe;/c cd $(ProjectDir) &amp; flambe build flash html" image="491" />

The first icon will open a console that starts to serve Flambe, the second button compiles both flash+html version without running it. In the default flashdevelop template that is provided by Flambe, only one target is compiled at a time (provided in the flambe.yaml file), so you would use this button only when you want to deploy both versions your game. Otherwise just use the default build/run buttons from FlashDevelop.

Clone this wiki locally