View Single Post
  #5  
Old 08-05-2008, 07:23 AM
 
Asiaplay Asiaplay is offline
 

X-Wizard
  
Join Date: Oct 2005
Posts: 1,242
 

Default Re: flash into label?

Hi Mlalande,

Try the following:-
Note that in the following code the images (jpg and swf files) are stored in your stores "image/categories/" directory (you can upload them to that folder via ftp) - the folder named "categories" we just added into directory "images" ourselves to store these in (you could call the folder any name).
The rest is simple html to change the width, height etc. (you could open the html file in notepad to view what to change these to for your own file perhaps.

<php?>
<table>
<tr>
<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="left" valign="top" bgcolor="#ffffff"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="180" align="left" valign="top" background="http://yourdomain.com/images/categories/banner.jpg">

<OBJECT classid="clsid:d27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=3,0,0,0" ID=ECHOECHO WIDTH="100%" HEIGHT="100%"><PARAM NAME=movie VALUE="http://yourdomain.com/images/categories/banner.swf">
<PARAM NAME=quality VALUE=AUTOLOW>
<PARAM NAME=play VALUE=true>
<PARAM NAME="wmode" value="transparent">
<PARAM NAME=menu VALUE=false>

<EMBED SRC="http://yourdomain.com/images/categories/banner.swf" swLiveConnect=FALSE WIDTH="100%" HEIGHT="100%" QUALITY=AUTOLOW MENU=false PLAY=true WMODE=transparent TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED></OBJECT>
</td></tr>
</td></tr>
</td></tr>
</table>
</?>

Cheers, Asiaplay
__________________
X-Cart Gold version 4.1.9
(plus built in X-Cart bugs!)
Reply With Quote