OK. I've looked at your code and am ready to offer a couple of suggestions.
1. Do you have the ability to affect anything besides that limited div of
space? You mentioned you can't get at the <head>, was curious if you had
access to the rest of the body of HTML.
I ask this because ultimately we want to make sure that swfobject and the
DOM are properly loaded and we try to defer as much in the way of latency
issues as we can. So, if you can just define the altcontent div, load
swfobject.js as early as you can in the process, define your SWFLoad
function as early as possible, and then invoke your javascript routines as
late as you can in the web page, that may provide some assistance.
2. I noticed that you did have the jQuery library as well as SWFObject. I
do not know what, if any collisions occur between SWFObject's DOMReady event
injection and jQuery's, but I would like to suggest that instead of using
SWFObject's version, try the jQuery analog, which for you would be something
like:
$(document).ready(function() {}); where you replace function with your
SWFLoad reference either as an actual function definition or calling it
after the fact.
Note that a shortcut exists where if you just do $(<function>); that the
function is automatically bound to the document.ready event.
Please try this, and publish the result.
Optional: Another interesting thing to try would be to add an alert('I am
ready') to your onload/document ready function. It would be interesting to
see if the forced human delay gives FF3.5 time to write to screen properly.
Optional Part 2: The next thing to do would be to add an alert('embedding
SWF') to see if it is reaching the javascript that is attempting to embed
the object. Putting this alert just before your embed call would assure you
that the function call is not getting lose for some reason.
Vincent
On Thu, Jul 23, 2009 at 10:16 AM, Vincent Polite <
[email protected]> wrote:
> Thanks. Taking a look now.
>
> VP
>
>
> On Thu, Jul 23, 2009 at 10:15 AM, citznfish <[email protected]> wrote:
>
>>
>> BTW I am using FF 3.0.7, IE 8, and Safari 4 public beta 528.16
>> >>
>>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---