QuickBuild
From FlashDevelop
Contents |
Introduction
Quick Build is an alternative to Project compilation. This allows you to quickly compile the currently open class without setting up a project.
- In main menu: Tools > Flash Tools > QuickBuild
- Shortcut: Ctrl+F8
By default the generated SWF will be named after your class and placed at the root of your project directory.
| Warning: this compilation method is completely unaware of your project settings, so if you want to add libraries, classpath, a custom output location, additional compiler arguments, etc. you will have to specify Quick Build arguments. |
Optional Quick Build arguments
AS3
/** * @mxmlc -o bin/output.swf -cp ../common/lib/TweenLiteAS3/src */
MXML
< !-- @mxmlc -default-size 400 300 -o bin/output.swf -- >
AS2
/** * @mtasc -header 400:300:30 -swf bin/output.swf */
Haxe
/** * @haxe -swf-header 400:300:30 -swf bin.output.swf */
Special Quick Build arguments
Quick Build supports a few custom arguments:
- -noplay: tells FlashDevelop to not play the generated SWF after build.
- -debug: (AS3 only) tells FlashDevelop to start the debugger when playing the SWF to capture traces.