[SWFObject] SWFObject is undefined

Aran Rhee aran.rhee at qdc.net.au
Thu Jul 13 19:57:04 PDT 2006


Yvette.
 
things to check/modify:
 
<script language="JavaScript" src="swfobject.js" type="text/javascript">
var so=new swfobject("text3.swf", "logo", "388", "71", "5", "#000033");
so.write("flashcontent");
</script>
</div>
 
should be (note I deleted the extra </div> tag too) :
 
<script language="JavaScript" type="text/javascript">
var so=new swfobject("text3.swf", "logo", "388", "71", "5", "#000033");
so.write("flashcontent");
</script>
 

Also, you still have th original logo .swf being embedded with the same
name/id. I'd also remove that whole object block so that swfObject can do
it's thing.
 
(make a new version of your html page, and delete all the below code)
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
<BLOCKED::BLOCKED::http://download.macromedia.com/pub/shockwave/cabs/flash/s
wflash.cab#version=5,0,0,0>
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=
5,0,0,0" name="logo" width="388" height="71" id="logo">
 
          <param name="movie" value="text3.swf">
          <param name="quality" value="high">
          <param name="bgcolor" value="#000033">
          <param name="scale" value="exactfit">
          <embed src="text3.swf" width="388" height="71" quality="high"
pluginspage="
<BLOCKED::BLOCKED::http://www.macromedia.com/shockwave/download/index.cgi?P1
_Prod_Version=ShockwaveFlash>
http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shock
waveFlash" type="application/x-shockwave-flash" scale="exactfit"
bgcolor="#000033" name="logo"></embed>
        </object>
 
 
If things are still broken after these mods, upload the new page, and we can
have a look then.
 
With the rest of the swf 6 files embedded on the page, you'll need to make a
unique div name / flash name for each of the files too. Rather than
"flashcontent", name them somethig appropriate like "contact", "aboutus"
etc. BTW - Is there any reason they are all seperate swf's ? All the menu
items could be in 1 swf and would save you a bit of insertion code work :)
 
 
 
Cheers,
Aran 
 
BTW - sorry if this gets double posted. Some email issues right now :(


  _____  

From: swfobject-bounces at lists.deconcept.com
[mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of Yvette Snow
Sent: Friday, 14 July 2006 11:52 AM
To: swfobject at lists.deconcept.com
Subject: [SWFObject] SWFObject is undefined


I've watched the movie and followed the instructions as closely as possible.
I still get an error saying "SWFObject is undefined".  The page is
http://www.fromthedust.com/bio.html.  Could someone please help me figure
out what I'm doing wrong?
 
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060714/a8397383/attachment-0005.htm>


More information about the Swfobject mailing list