Created
February 28, 2013 15:48
-
-
Save davestewart/5057689 to your computer and use it in GitHub Desktop.
Quick Build File template for FlashDevelop. Add to "C:\Users\<user>\AppData\Local\FlashDevelop\Templates\ProjectFiles\AS3Project", and see http://www.flashdevelop.org/community/viewtopic.php?f=5&t=10532&p=47487
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Quick Build File: Publish using CTRL+F8 | |
* | |
* @mxmlc -debug -o bin/$(FileName).swf | |
* | |
* Instructions | |
* ============ | |
* | |
* All switches should be added to the mxmlc directive above. | |
* | |
* 1) To include .as sources, add "-source-path+=" elements, separated by spaces | |
* @example -debug -o bin/Test.swf -source-path+=E:\Project\src | |
* | |
* 2) To include .swc libraries, add "-library-path+=" elements, separated by spaces | |
* @example -debug -o bin/Test.swf -library-path+=E:\Project\swc | |
* | |
* 3) To add multiple sources or libraries, add additional switches separated by spaces | |
* @example -debug -o bin/Test.swf -source-path+=E:\Project\src -source-path+=E:\Project\lib | |
* | |
* 4) Change the output folder by changing the -o switch | |
* @example -debug -o C:\path\to\Test.swf | |
* | |
* 5) Add any additional compiler directives to the mxmlc parameter above | |
* @see http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html#157203 for more info | |
*/ | |
package $(Package) $(CSLB){ | |
import flash.display.Sprite; | |
/** | |
$(CBI)* ... | |
$(CBI)* @author $(DefaultUser) | |
$(CBI)*/ | |
public class $(FileName) extends Sprite $(CSLB){ | |
public function $(FileName)() $(CSLB){ | |
trace('Built: "$(FileName).swf"!'); | |
$(EntryPoint) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment