Thanks for your quick reply Aran
It's my first time using SWFObject 2, but I got there in the end. Here
is my javascript code that facilitates the polite loading:
<script type="text/javascript">
swfobject.addLoadEvent(loadFlash);//the function that puts the
polite load on
var flashvars = {};
var params = {};
params.quality = "best";
params.wmode = "transparent";
var attributes = {};
attributes.id = "home";
function loadFlash() {
//The regular swf object function nestled in the polite load
function
swfobject.embedSWF("flash/home.swf", "flash_home", "979", "366",
"6.0.0", "flash/expressInstall.swf", flashvars, params, attributes);
}
</script>
I do have 1 final question - when all the page assets are loading, the
flash is represented as a big white block. Does anyone know if it is
possible to make this transparent during the polite load?
Thanks for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---