https://github.com/webcaetano/swf-build
ActionScript Builder in NodeJS
https://github.com/webcaetano/swf-build
Last synced: about 1 year ago
JSON representation
ActionScript Builder in NodeJS
- Host: GitHub
- URL: https://github.com/webcaetano/swf-build
- Owner: webcaetano
- License: mit
- Created: 2015-05-01T07:01:16.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-06T03:48:54.000Z (about 11 years ago)
- Last Synced: 2025-04-12T03:17:21.105Z (about 1 year ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://travis-ci.org/webcaetano/swf-build) [](http://badge.fury.io/js/swf-build)
# SWF Build
### Install
```
npm install swf-build
```
### Documentation
Simple Build
```javascript
var swfBuild = require('swf-build');
swfBuild('./test/main.as',function(err, stdout, stderr){
// output './test/main.swf'
});
```
Set output
```javascript
swfBuild('./test/main.as','./test/swf/main.swf',function(err, stdout, stderr){
// output './test/swf/main.swf'
});
```
Set parameters
```javascript
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'
});
```
[](https://nodei.co/npm/swf-build/)
---------------------------------
The MIT [License](https://raw.githubusercontent.com/webcaetano/swf-build/master/LICENSE.md)