QuickBuild

From FlashDevelop

Jump to: navigation, search

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.

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
*/

See MXMLC compiler options.

MXML

< !-- @mxmlc -default-size 400 300 -o bin/output.swf -- >

See MXMLC compiler options.

AS2

/**
* @mtasc -header 400:300:30 -swf bin/output.swf
*/

See MTASC compiler options.

Haxe

/**
* @haxe -swf-header 400:300:30 -swf bin.output.swf
*/

See Haxe compiler options.


Special Quick Build arguments

Quick Build supports a few custom arguments:

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox