Skip to content

mobilerider/gulp-flash

 
 

Repository files navigation

Build Status npm version

Gulp Flash

Installation

npm install gulp-flash

Documentation

Single file

var flash = require('gulp-flash');

gulp.src('src/main.as')
.pipe(flash()) // will out pull main.swf in same folder

Multi file

gulp.src('src/*.as')
.pipe(flash()) // will out pull all .swf in same folder

Multi file with swf output

gulp.src('src/*.as')
.pipe(flash('swf/')) // will out pull all .swf in target folder

With parameters

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

The MIT License

About

GulpJS plugin for build actionscript into .swf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.5%
  • ActionScript 13.5%