[SWFObject] SwfObject-bearingHTMLPage:FlashVideoreloadingitselfupon departure!

Brave Boat NET shipwrecked at braveboat.net
Mon Oct 30 08:40:20 PST 2006


nyls,

we admit to being inept with javascript.    So we suppose you mean that the Flash button (let's use the Staff button as an example) should have code like this:

on (release) {
    fl.runScript("http://www.jspelkeyfuneralhome.com/prototype/index.html", "getURL(url)");
}

Then the HTML page on which the 2 videos reside should have this function someplace in the body of the HTML:

function getURL(url)

{

            document.getElementById("flashwelcome").innerHTML = "";

           window.location = url;

}

This would clear the welcome video with the man talking.  Whatever we've got here doesnt work though.  Probably we goofed in the call to the javascript function.  ????

carol
  ----- Original Message ----- 
  From: nyls 
  To: swfobject at lists.deconcept.com 
  Sent: Monday, October 30, 2006 10:06 AM
  Subject: Re: [SWFObject]SwfObject-bearingHTMLPage:FlashVideoreloadingitselfupon departure!


  Hello, 

   

  Yes, try the streaming VS fully loaded swf.. 

   

   

  I mean if you don't use a flash menu but just a normal HTML menu <a href=''> link </a>,  just to pin point the problem more. . Try removing anything that could cause the problem so that you have the minimal stuff on the page where the problem/bug is still there..  

   

  Ok, to empty a DIV use a javascript function 

   

  function getURL(url)

  {

              document.getElementById("flashDIV").innerHTML = "";

             window.location = url;

  }

   

   

  And from your flash menu instead of asking for a new page, call the javascript function ..  

   

  Maybe a better solution if the problem is with the streaming to stop the movie stream before switching pages.. 

   

  Ok, goodluck

   

  nyls



------------------------------------------------------------------------------


  _______________________________________________
  SWFObject mailing list
  SWFObject at lists.deconcept.com
  http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20061030/c0017eb0/attachment-0005.htm>


More information about the Swfobject mailing list