Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

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