Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
.jshintrc
.npmignore
.travis.yml
Gruntfile.js
LICENSE-MIT
README.md
index.js
package.json
prepublish.js

README.md

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);
  }
});
Something went wrong with that request. Please try again.