Skip to content

Instantly share code, notes, and snippets.

@wolframkriesing
Last active December 16, 2015 17:29
Show Gist options
  • Save wolframkriesing/5470249 to your computer and use it in GitHub Desktop.
Save wolframkriesing/5470249 to your computer and use it in GitHub Desktop.
var movieConfig = {
width: 550,
height: 400,
plugins: [
'//cdn.pixelplant.com/as3shim-latest.min.js',
'//cdn.pixelplant.com/as3vm-latest.min.js',
'//cdn.pixelplant.com/transwf-runtime-latest.min.js'
],
pluginDebug: false,
urls: ['movie.js'],
assetBaseUrl: 'assets',
flashConfig: {flashVars: {varName:'and da value :)'}} // <<<<<==== flash vars
};
bonsai
.setup({runnerContext: bonsai.IframeRunnerContext})
.run(document.getElementById('bs-stage'), movieConfig);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment