Fandom

Scratchpad

Basic Flash Embed Trigger

229,697pages on
this wiki
Add New Page
Discuss this page0 Share

Embed scripts are used to inject flash into the DOM of a webpage either when or when triggered by an event. Here is the basic code with parameters for version control, dimensions and auto-update. This script must be triggered either by the jQuery $document(ready) event or by some other function.

You will need to download the Flash Embed Script.

Code

 $('div#banner').flash({ 
     src: 'user-assets/Flash/merkleflash.swf',
     width: 866,
     height: 345,
     wmode: 'transparent'
  },			
  {version: 7.0},
  { expressInstall: true }
 );

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.