Hi Doug

You're using addLoadEvent, which means the event will only fire after all
page elements have loaded, yet you fail to specify an actual SWF for the
<object>, which means the page will never finish loading.  This chokes IE.
 There are two ways to fix this:

1. Specify a real SWF that can load as expected.

or

2. Switch from addLoadEvent to addDomLoadEvent.

Some additional pointers:

   - Your page contains a single <object>, with the data attribute but
   without the classid element. This will fail in IE. Use the SWFObject code
   generator<http://www.bobbyvandersluis.com/swfobject/generator/index.html>to
produce the nested <object> syntax that works cross-browser (be sure
to
   select the "static publishing" option).
   - You've added your <script> element after the closing </body>, which is
   invalid.  Script elements should be located inside the <head> or <body>.


- philip



On Mon, Oct 10, 2011 at 6:48 PM, Doug <[email protected]> wrote:

> Hello,
>
>
> On this page (using swfobject.js 2.2):
>
> http://www.northcarolina.edu/test_dir/swftest.php
>
> These lines of code:
>
>                        function onLoadFiring()
>                        {
>                                alert('On Load just happened');
>                        }
>                         swfobject.addLoadEvent(onLoadFiring);
>
>
> Will produce an alert, but only on firefox, safari or IE9.
>
> However, on IE7 and IE8, this event doesn't fire.
>
> Is this a bug in swfobject.js, or am I misunderstanding how this event
> works? Is there something I can do to fix this issue for these
> browsers?
>
> Thanks,
> Doug
>
> --
> 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.
>
>

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