playerglobal

0.1.9 • Public • Published

Build Status

node-playerglobal

A Node.js module wrapper for downloading/installing ALL versions of the "playerglobal.swc" API library in order to target all modern versions of Flash Player.

If you would prefer to be able to always have the latest versions without this waiting for this module to be updated and re-published, check out JamesMGreene/node-playerglobal-latest instead.

Install

npm install playerglobal

Usage

var pg = require('playerglobal');
 
console.log('PlayerGlobal root path: ' + pg.path);
 
// Install the PlayerGlobal dir into a Flex SDK dir
var FLEX_HOME = process.env['FLEX_HOME'] || __dirname;
pg.install(FLEX_HOME, function(err) {
  if (err) {
    console.error('Failed to install the Flash API libraries!\nError: ' + err);
  }
});

Package Sidebar

Install

npm i playerglobal

Weekly Downloads

2

Version

0.1.9

License

MIT

Last publish

Collaborators

  • jamesmgreene