Basic Flash Embed Trigger

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.

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