https://github.com/webcaetano/gulp-flash
GulpJS plugin for build actionscript into .swf
https://github.com/webcaetano/gulp-flash
Last synced: about 1 year ago
JSON representation
GulpJS plugin for build actionscript into .swf
- Host: GitHub
- URL: https://github.com/webcaetano/gulp-flash
- Owner: webcaetano
- License: mit
- Created: 2015-05-01T16:13:20.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-12-23T13:29:15.000Z (over 10 years ago)
- Last Synced: 2024-04-28T13:03:41.932Z (about 2 years ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://travis-ci.org/webcaetano/gulp-flash) [](http://badge.fury.io/js/gulp-flash)
# Gulp Flash
### Installation
```
npm install gulp-flash
```
### Documentation
Single file
```javascript
var flash = require('gulp-flash');
gulp.src('src/main.as')
.pipe(flash()) // will out pull main.swf in same folder
```
Multi file
```javascript
gulp.src('src/*.as')
.pipe(flash()) // will out pull all .swf in same folder
```
Multi file with swf output
```javascript
gulp.src('src/*.as')
.pipe(flash('swf/')) // will out pull all .swf in target folder
```
With parameters
```javascript
gulp.src('src/*.as')
.pipe(flash('swf/',{
'library-path': [
'./libs'
],
'source-path': [
'./zClass'
],
'swf-version': 13,
'use-gpu': true
}))) // will out pull all .swf in target folder using this parameters
// or
gulp.src('src/*.as')
.pipe(flash({
'library-path': [
'./libs'
],
'source-path': [
'./zClass'
],
'swf-version': 13,
'use-gpu': true
}))) // will out pull all .swf in same folder using this parameters
```
[](https://www.npmjs.com/package/gulp-flash)
---------------------------------
[The MIT License](https://raw.githubusercontent.com/webcaetano/gulp-flash/master/LICENSE.md)