swf-build

1.0.4 • Public • Published

Build Status npm version

SWF Build

Install

npm install swf-build

Documentation

Simple Build

var swfBuild = require('swf-build');
 
swfBuild('./test/main.as',function(err, stdout, stderr){
    // output './test/main.swf'
}); 

Set output

swfBuild('./test/main.as','./test/swf/main.swf',function(err, stdout, stderr){
    // output './test/swf/main.swf'
}); 

Set parameters

swfBuild('./test/main.as','./test/swf/main.swf',{
    'library-path': [
        './test/libs'
    ],
    'source-path': [
        './test/zClass'
    ],
    'swf-version': 13,
    'use-gpu': true
},function(err, stdout, stderr){
    // output './test/swf/main.swf'
}); 

NPM


The MIT License

Package Sidebar

Install

npm i swf-build

Weekly Downloads

7

Version

1.0.4

License

MIT

Last publish

Collaborators

  • webcaetano