Hello,

I am using swfObject to write flash to a div which works as expected.
I want to refresh that div, essentially reloading the flash again.  I
have an alert which pops up so I know the function which writes the
flash is being called, but the flash never refreshes, here is the
method that I call.

function addRange()
{
        //document.getElementById("directentrydropdown").style.visibility =
'hidden';
        var randomnumber=Math.floor(Math.random()*999)
        var file ="range.swf?"+randomnumber;
        var flashvars = {};
        flashvars.contentxml = "xml/content.xml";
        flashvars.launchbuttonlabel = "Launch the Range Experience " +
randomnumber;
        flashvars.directentrygroup = document.myform.dropdown.value;
        var params = {};
        params.allowfullscreen = true;
        params.scale = "noscale"
        var attributes = {};
        attributes.id = "template";
        swfobject.embedSWF(file, "myAlternativeContent", "188", "105",
"9.0.28.0", false, flashvars, params, attributes);
}

Does anyone have any idea what would stop the div from being
overwritten again?

Thanks

Neil
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to