Peter Elst

Founding Partner – Project Cocoon

Publish template for JavaScript solution

with 6 comments

I’ve just finished a publish template for Flash to use with the “insertFlash” generic JavaScript solution for the upcoming IE changes. You can download the file here, simply drop it in the First Run/HTML folder of your Flash install directory and restart Flash.

You can then specify the “IE Changes Workaround” publish template in the publish settings dialog (File > Publish Settings). The exported HTML requires the file insertFlash.js to be located in the same directory for the JavaScript Flash embed to work.

There has also been an update to “insertFlash” itself, it now supports setting the required Flash player version and align property by specifying the “version” and “align” properties in the params argument.

insertFlash(“mySWF.swf”,550,400,”#FFFFFF”,{menu:false,version:”7,0,0,0″,align:”right”});

[Update] The “insertFlash” JavaScript code was just updated due to a problem with not specifying a value for the version attribute.

Creative Commons License
This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.0 Belgium License.

No related posts.

Written by Peter

October 10th, 2003 at 4:40 pm

Posted in Flash