Skip to content

Grunt mutitask to compile Flash swf and swc files using AIR or FLEX SDK libraries

Notifications You must be signed in to change notification settings

yichuan2017/grunt-flash-compiler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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'
        }
    }
}

About

Grunt mutitask to compile Flash swf and swc files using AIR or FLEX SDK libraries

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%