hitman0042 Posted September 17, 2010 Share Posted September 17, 2010 I want to add a flash movie on the top of my page on the homepage. How do i do this. Imade it using flash and flie format is .fla who can help me? Link to comment Share on other sites More sharing options...
hitman0042 Posted September 18, 2010 Author Share Posted September 18, 2010 Anyone at all? Link to comment Share on other sites More sharing options...
Guest Posted September 18, 2010 Share Posted September 18, 2010 Mason, Actually you will want to publish it using adobe to create a .swf file. Once you have done that, you can add the code to the index.php file in the appropriate spot. The code is: <table style="width:1000px; height:200px" align="center"> <tr> <td width="1000px" height="200px" valign="top" cellpadding="0" cellspacing="0" border="0"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24" width="1000" height="200"> <param name="movie" value="http://yoursite.com/[catalog]/images/yourfile.swf"> <param name="quality" value="high"> <param name="menu" value="false"> <!--[if !IE]> <--> <object data="http://yoursite.com/[catalog]/images/yourfile.swf" width="1000" height="200" 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> </td> </tr> </table> Of course you would change the image width and height and the URL and file name to suit your needs. Chris Link to comment Share on other sites More sharing options...
hitman0042 Posted September 18, 2010 Author Share Posted September 18, 2010 you say adobe, but there is a wide range of adobe products. Please be specific. Also, where do i apply this code? The index.php is very big with lots of coding, where am i suppoesed to apply this code? Link to comment Share on other sites More sharing options...
Guest Posted September 18, 2010 Share Posted September 18, 2010 Mason, I use CS4 but, any version of Adobe Flash Animator will work. Without seeing the site, it would usually be placed in this area: <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_MAIN; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> Chris Link to comment Share on other sites More sharing options...
hitman0042 Posted September 18, 2010 Author Share Posted September 18, 2010 Mason, I use CS4 but, any version of Adobe Flash Animator will work. Without seeing the site, it would usually be placed in this area: <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_MAIN; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> Chris Do i paste it over it? after it? before it? Link to comment Share on other sites More sharing options...
hitman0042 Posted September 19, 2010 Author Share Posted September 19, 2010 Do i paste it over it? after it? before it? can anyone be specific and help me please? Link to comment Share on other sites More sharing options...
Guest Posted September 19, 2010 Share Posted September 19, 2010 Mason, I would integrate the code above the TEXT MAIN area. As I said, you may have to change the table layout to incorporate it into the site, but that is where it should be placed. Chris Link to comment Share on other sites More sharing options...
hitman0042 Posted September 19, 2010 Author Share Posted September 19, 2010 Mason, I would integrate the code above the TEXT MAIN area. As I said, you may have to change the table layout to incorporate it into the site, but that is where it should be placed. Chris Does not work. I will have find someone else to help me. Thanks! Link to comment Share on other sites More sharing options...
Guest Posted September 19, 2010 Share Posted September 19, 2010 Mason, I have installed it like that on dozens of sites, it does work but perhaps your index.php is not standard. In which case, you will need to code it properly to fit into your site. Good luck Chris Link to comment Share on other sites More sharing options...
hitman0042 Posted September 19, 2010 Author Share Posted September 19, 2010 Mason, I have installed it like that on dozens of sites, it does work but perhaps your index.php is not standard. In which case, you will need to code it properly to fit into your site. Good luck Chris Yer i do not know how to do it. Ill find someone who can do it for me or something like that. Everytime i try, it wrecks. Link to comment Share on other sites More sharing options...
zpupster Posted September 19, 2010 Share Posted September 19, 2010 Yer i do not know how to do it. Ill find someone who can do it for me or something like that. Everytime i try, it wrecks. Link to comment Share on other sites More sharing options...
zpupster Posted September 19, 2010 Share Posted September 19, 2010 i had difficulty getting mine to work, i used the banner manager in the tools section of admin, worked like a charm. good luck!! craig Link to comment Share on other sites More sharing options...
hitman0042 Posted September 19, 2010 Author Share Posted September 19, 2010 i had difficulty getting mine to work, i used the banner manager in the tools section of admin, worked like a charm. good luck!! craig Yer but it doesnt upload .swf? only images Link to comment Share on other sites More sharing options...
hitman0042 Posted September 20, 2010 Author Share Posted September 20, 2010 Yer but it doesnt upload .swf? only images It does just not at the top. I need the swf at the TOP!! Link to comment Share on other sites More sharing options...
zpupster Posted October 1, 2010 Share Posted October 1, 2010 this is the from the banner manager: Use an image or HTML text for the banner - not both. HTML Text has priority over an image. use this text; <object data="images/your swf file name.swf" type="application/x-shockwave-flash" width="your width here" height="your height here"> <param name="movie" value="images/your swf file name.swf"> </object> <object data="images/your swf file name.swf" type="application/x-shockwave-flash" width="your width here" height="your height here"> <param name="movie" value="images/your swf file name.swf"> </object> from your index.php or homepage put this where you want it: <tr> <td class="main"><?php echo TEXT_MAIN; ?></td> </tr> it comes from catalog/includes/languages/english/index.php and will look like this: define('TEXT_MAIN',' ]<object data="images/your swf file name.swf" type="application/x-shockwave-flash" width="your width here" height="your height here"> <param name="movie" value="images/your swf file name.swf"> </object>'); once again good luck!! craig Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.