grunt-flash-compiler
v0.3.5
Published
Compile your ActionScript using flex or Air!
Downloads
37
Readme
grunt-flash-compiler
Grunt multitask to compile Flash swf and swc files
Options
- taskCompilerOptions: array - Extra options to be added to all compilations
- targetCompilerOptions: array - Extra options to be added to a specific compilation
- debug: Boolean - enable debugging options for compiled object
- swc: Boolean - when true, generate a swc library file for linking
Example
flash: {
options: {
targetCompilerOptions : [
'-compiler.library-path+='+ 'libs',
'-define+=PROJECT::version,\'' + projects.version + '\''
]
},
debug : {
options : {
debug : true,
},
files : {
'test/output.swf' : 'src/file.as'
}
},
release : {
files : {
'bin/output.swf' : 'src/file.as'
}
}
}