Go Back   Volusion Review Forums - Get the Most from your Online Store > Volusion Forums > Website Design
User Name
Password Register
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 07-24-2008, 06:09 PM
bigred bigred is offline
Senior Member
 
Join Date: Sep 2007
Posts: 598
Default Question about a .swf

OK, why does IE mess with me so much.

Look at my homepage in IE. Anyone know why the flash piece on the homepage stretches the way it does? I set size parameters for it.

Anyone?

www.shopvsc.com
__________________
www.adzagdesigns.com
Reply With Quote
  #2  
Old 07-24-2008, 07:07 PM
bigred bigred is offline
Senior Member
 
Join Date: Sep 2007
Posts: 598
Default

Well i figured it out. It need a little IE hack since IE sucks and reads everything backwards. Heres the hack

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="615" height="75">
<param name="movie" value="YOUR SWF FILE">
<param name="quality" value="high">
<param name="menu" value="false">
<!--[if !IE]> <-->
<object data="YOUR SWF FILE"
width="615" height="75" type="application/x-shockwave-flash">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">
FAIL (the browser should render some flash content, not this).
</object>
<!--> <![endif]-->
</object>

I guess you need to add the data tag. Who knows. Thanks IE for being so crappy.
__________________
www.adzagdesigns.com
Reply With Quote
  #3  
Old 07-24-2008, 07:12 PM
Rick H. Rick H. is offline
Senior Member
 
Join Date: Jul 2006
Posts: 199
Default

The problem is this (i think):

1. The name of your SWF file is "header".
2. There is a class id in the object tag referencing "header".
3. That object seems to be getting confused with the header reference in your css template file - 800 some pixels.

Try changing the swf to a different file name and be sure the word "header" is nowhere in the object tag for the swf.

Rick H.

Last edited by Rick H. : 07-24-2008 at 07:14 PM. Reason: typos
Reply With Quote
  #4  
Old 07-24-2008, 07:14 PM
bigred bigred is offline
Senior Member
 
Join Date: Sep 2007
Posts: 598
Default

Yeah, I thought that too. So I was testing it with or without it. Still had the same effect. Who knows. I read an article on the IE hack referencing the data tag compared to idclass.

I tried it and it worked.
__________________
www.adzagdesigns.com
Reply With Quote
  #5  
Old 07-24-2008, 07:22 PM
Rick H. Rick H. is offline
Senior Member
 
Join Date: Jul 2006
Posts: 199
Default

Hmmm....As a simple test using local versions of your files, i got the width right simply by changing "header" to "header1" in the object tag and the width was correct. Of course you would have to adjust the rest of the code to accomodate the change.

Rick H.

Last edited by Rick H. : 07-24-2008 at 07:23 PM. Reason: typo
Reply With Quote
  #6  
Old 07-24-2008, 07:26 PM
Rick H. Rick H. is offline
Senior Member
 
Join Date: Jul 2006
Posts: 199
Default

...therefore your solution may have worked simply because the code "id=header" is no longer in that object tag.

:-)

Rick H.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +0. The time now is 09:59 PM.