juniorprg Posted July 22, 2004 Posted July 22, 2004 I want to insert flash in the main page, So i am editing english/index.php and edited the code to . tep_image(DIR_WS_IMAGES . 'hd_graphics/flash_main_page.swf') when i preview it shows the box of swf but not the graphic, is the code only used to view images not flash? l8ter
fribhey Posted July 22, 2004 Posted July 22, 2004 my guess is that code uses a source tag '<src', flash files need either an embed or object tag.
noob Posted July 22, 2004 Posted July 22, 2004 usualy ur flash application gives u the html code to put in this is the code i used <object CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="350" HEIGHT="150" CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0"> <param NAME="MOVIE" VALUE="banner.swf"> <param NAME="PLAY" VALUE="true"> <param NAME="LOOP" VALUE="true"> <param NAME="QUALITY" VALUE="high"> <EMBED SRC="banner.swf" WIDTH="350" HEIGHT="150" PLAY="true" LOOP="true" QUALITY="high" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED></object> Checkout my osc contrib here! You can also checkout the site im working on by clicking the card button!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.