1.0.4 • Published 9 years ago

swf-build v1.0.4

Weekly downloads
7
License
MIT
Repository
github
Last release
9 years ago

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