SlideShowPro News

07.27.05 | A note about FlashObject 1.2

Posted by Todd Dominey at 7:10 PM | Permalink | More of this topic in General News

FlashObject, the JavaScript file used for embedding Flash content (which I have recommended the use of), was recently updated to version 1.2. As part of the update, FlashObject now requires users to specify an element ID when using the write() method.

Why do I point this out? Because the User Guide contains an example of FlashObject code in the "Enhancements: Permalinks" section that shows an empty (and now broken) write() method. So if you update to FlashObject 1.2, you must create a named element in your page, like so:

<div id="flashcontent"></div>

Then in your FlashObject code, you need to pass this id as a parameter in the write method:

myFlashObject.write('flashcontent');

The User Guide will be updated in the next revision, but for now, make sure your embed code is formatted correctly if updating to FlashObject 1.2.