Skip to content
This repository was archived by the owner on Jul 29, 2022. It is now read-only.

Repository files navigation

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);
  }
});

About

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.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages