I have the following code using SWFObject 2.1 in a simple html page:

  <script type="text/javascript">
      if (swfobject.hasFlashPlayerVersion("8.0.0.0"))
      {
            var att = { id: "myObj", data:"MySwfFile.swf",
width:"600", height:"300" };
            var par = { flashVars: "responseurl=Page.aspx?theID=5" };
            var myObject = swfobject.createSWF(att, par,
"flashcontent");
      }
  </script>

now... sometimes it takes more than 30 seconds for the swf to load..
and I can't change the file it self.. so I want to add a loading text
with javascript or something similar... I tried doing it for hours.. I
added onload to anything... I tried the addEventListener I tried the
addLoadEvent and the addDomLoadEvent... I tried everything I found
possible on the net and everything I had in mind..... but nothing
seemed to catch the end of the SWF file loading.. nothing fired when
the file loaded completely...

I really hope there's a solution to this problem and I'll appriciate
any help.

Thanks in advace,
Adam Fridental.
--~--~---------~--~----~------------~-------~--~----~
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