FlashObject embed Readme http://blog.deconcept.com/flashobject/ v1.2 Created: 10-14-2004 Last Updated: 07-22-2005 By: Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/ -------------------------- Copyright (c) 2005 Geoff Stearns Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------- Files: readme.txt - this file flashobject.js - FlashObject javascript file - this will need to be included in any html file that uses the FlashObject embed flashobject.html - sample html file showing how to use the FlashObject embed fullpage.html - sample html file showing a full page (100% by 100% flash embed) fotester.swf/fla - simple fla file that loads a variable passed in from flashvars These files are provided 'as is,' with no technical support provided, but if you find a problem, please e-mail me at geoff@deconcept.com so I can update/correct the problem and provide an updated version. ---------- Changelog: 7-22-2005: -added minor version and revision detection -fixed a few small bugs (one would have caused flashobject to fail once a user tries to detect a flash player version larger than 9) -rewrote so it's all in it's own namespace (Thanks to Toby Boudreaux for the excellent code tips http://www.tobyjoe.com/) - *** note that FlashObject.write() now requires an element ID - it will no longer work with no id specified - *** please note that there is no more bypass text or altTxt variables, you should place your alternate content in a div, and then have FlashObject write to that div, thereby replacing the alternate content. permanent home of flashobject: http://blog.deconcept.com/flashobject/ 5-17-2005: changed the 'id' attribute on the embed tag to 'name' instead. This change enables the use of features that require liveconnect or other javascript communication in browsers that use the embed tag. 3-31-2005: 1.1 update, multiple changes, mostly some code optimization and some changes in how the script displays alt content. see: http://blog.deconcept.com/2005/03/31/proper-flash-embedding-flashobject-best-practices/