swfobject 2.2
- Started
- Last post
- 3 Responses
- zaq
Has anyone tested it?
http://code.google.com/p/swfobje…
- NONEIS0
This is pretty cool...
10. The option to switch off SWFObject's default show/hide behavior
Developers now have the option to display alternative content (e.g. background image) while waiting for the swf file to load by switching off SWFObject's default hide/show behavior.
Just call the swfobject.switchOffAutoHideShow... method after you have included SWFObject, but before any swfobject.registerObject() or swfobject.embedSWF() calls, like:
An example:
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.switchOffAutoHideShow...
swfobject.embedSWF("test6.swf", "myContent", "300", "120", "9.0.0", "expressInstall.swf");
</script>
- Stugoo0
very nice. im going to revisit this on monday
- akoni0
no more embed tags, now just a method, pretty.