View Single Post
  #5  
Old 02-21-2009, 03:01 PM
  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

This is an old thread, but here it goes anyway.

I added this line to my "txt_welcome.tpl" file, and got the Flash to play fine., but there is a White box around the animation, and I can't figure out where it is coming from. Hope someone can help.

This is the text I added.

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" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="{$SkinDir}/flash/Tv Tech Center_2.swf" 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 flash plays just fine, but I need to figure out where the White background is coming from to get rid of it. maybe "skin1.css"

Heres the link. http://www.tvtechcenter.com/xcart/home.php

Any help would be great. Thanks

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