View Single Post
  #7  
Old 02-22-2009, 07:42 AM
  nortonz's Avatar 
nortonz nortonz is offline
 

Senior Member
  
Join Date: Nov 2007
Location: N. Idaho, USA
Posts: 156
 

Default Re: adding flash to the welcome.tpl

No its still there, I did add a line to the first part. The Flash file has a Transparent Background, and that was the cause of the problem. This is what the code looks like now.

Code:
<script type="text/javascript" src="{$SkinDir}/flash/swfobject.js"></script> <script type="text/javascript"> swfobject.registerObject("myId", "9.0.0"), "{$SkinDir}/flashexpressInstall.swf/"; </script> <div style="text-align:center;"> <object id="myId" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="700" height="120"> <param name="movie" value="{$SkinDir}/flash/Tv Tech Center_2.swf" wmode="transparent" quality="high" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="{$SkinDir}/flash/Tv Tech Center_2.swf" wmode="transparent" quality="high" width="700" height="120"/> <!--<![endif]--> <div> <h1>Please Install Flash</h1> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p> </div> <!--[if !IE]>--> </object> <!--<![endif]--> </object> </div>

The 2 lines in RED are what I changes. The white background is now gone in FF3, but still there in IE7/8. I guess IE has a problem this the "wmode=transparent" Anyway I'm still looking for a fix for it..

If you didn't see the Flash playing on the top of the screen What Browser are you using?

Michael
__________________
X-Cart 4.5.4
Linux CentOS 5.8 Apache 2.2.3 PHP 5.2.17
MySQL 5.0.95
CDSEOPro 1.8.8 xCMS 1.31 Easyupsale 2.3
Reply With Quote