[SWFObject] SWFObject is undefined

Jim Berkey jim at jimbo.us
Fri Jul 14 04:09:57 PDT 2006


Yes, I think the problem may be in the order that browsers load table cells. If you can format the page without tables, I think you would not have that problem. If you have trouble formatting the entire page without tables, why not create one long, thin swf with all the buttons in it, and center it outside and under the table?
jimbo
*********** REPLY SEPARATOR ***********

On 7/14/2006 at 3:07 PM Aran Rhee wrote:
Yvette.

It looks like the flash content is being drawn and then centered afterwards, so you are getting some artifacts of the flash buttons as they reposition. Maybe try taking the centering off the table cells ? (the <td> tags).

Anyone else have some suggesions?

This would definietly be one more reason to have the buttons as 1 menue file rather than 6 individual buttons ....


Cheers,
Aran




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


Thank you so much for responding.  It's working now.

One more question...when I go from page to page using the navigation buttons, I can see (the only way I can describe it is) tracers.  Any ideas?

Thanks again for your help.  By the way, I'm a novice just trying to work my way through this stuff.

Yvette
----- Original Message ----- 
From: Aran Rhee 
To: swfobject at lists.deconcept.com 
Sent: Thursday, July 13, 2006 9:57 PM
Subject: Re: [SWFObject] SWFObject is undefined


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="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="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" 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.



_______________________________________________
SWFObject mailing list
SWFObject at lists.deconcept.com
http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com

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


More information about the Swfobject mailing list