As Philip said, make sure you are executing things in the right order. I am unsure if you are using swfobject 1.x or 2.x.
All 2.x code should be in the <head>, where as the 1.x code is defined in a script block inline, and must come AFTE the replacement div has been defined. Aran On Wed, Sep 9, 2009 at 2:05 PM, Philip Hutchison <[email protected]>wrote: > that error usually means the target element is missing (the element you're > trying to replace with the <object>) or swfobject is being invoked before > the DOM is ready. > > > > On Tue, Sep 8, 2009 at 8:44 PM, Tomy <[email protected]> wrote: > >> >> Aran, >> >> for certain reason, I can't provide you the link, really sorry for >> that , what i can provide is through this information. When i try to >> access my web from the web server , the system gets this error >> message. The error is not showing on other PC, but it shows on the >> web server only. >> >> error from swfobject.js: >> line :5 >> 'null' is null or not an object >> >> when i run the script debugger (swfobject.js), it higlighted this >> coding as yellow : >> >> t.outerHTML='<object classid="clsid:D27CDB6E- >> AE6D-11cf-96B8-444553540000"'+AD+">"+AB+"</object>" >> >> >> thanks for your time >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> On Sep 9, 7:14 am, Aran Rhee <[email protected]> wrote: >> > You'll need to give us something more to work with than a description in >> > order to offer any help. A link to the offending page would be best as >> we >> > can see what is actually going on, but otherwise the relevant code >> snippet >> > would be a good start. >> > >> > Aran >> > >> > On Tue, Sep 8, 2009 at 7:49 PM, Tomy <[email protected]> wrote: >> > >> > > im using swfobject v2.0. The problem that i faced this moment is >> > > regarding the swfobject. During the login to the webserver, an error >> > > appear like this : >> > >> > > line :5 >> > > 'null' is null or not an object >> > >> > > then when i run the IE build in script debugger, i realized that the >> > > error is coming from >> > > swfobject.js... >> > >> > > so, guys, any idea? >> > >> > > thanks, >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
