Thanks for that link. I did what that link has said. I put the flash file in the includes/templates/theme054/images/carousel.swf
The above is exactly where my flash file is located. I also placed it in the define_main_page.php file.
When I did that, it caused the blank square to appear, but the flash file is not playing within it.
I know I am missing something, obviously. Any help?
Derwin
Thjere is more to this than what you posted. Like the js etc follow all steps
I downloaded the js zip file called swfobject.js from the recommended site. I put it in the recommended place. I am at a loss as to what to do next. What "steps" are you talking about? Please give me a link if you know of it. Thanks.
Derwin
Here is a main page sample entry that works if other things are in place:
Adjust tag names as desired & replace with your infoCode:<p style="text-align: center;"><a href="http://XX.XX.XX.XX"><img src="images/XXXXXXX.jpg" alt="XXXXXXXXX" /></a><br /> <p align="left" style="margin-top: 0; margin-bottom: 0"> </p> <div id="features"> <img src="includes/templates/your_template/images/XXXXXX.swf" alt="XXXXXXXXX" width="585" height="104" /></div> </p> <script type="text/javascript"> var so = new SWFObject("includes/templates/your_template/images/XXXXX.swf", "movie", "585", "104", "7", "#FFFFFF"); so.write("features"); </script>
Kobra,
Thank you very much for the help. I really appreciate it. But where do I put this code?
Derwin
I posted this earlier:
Originally Posted by myself
Oh! I think I have things all screwed up! I put the ACTUAL flash file on that main page file. But your saying to only put the code. OK. Maybe that is the problem. Thanks.
Derwin
Your flash image file goes here includes/templates/your_template/images/XXXXXX.swf
I'm also trying to add flash to my main page, but it isn't showing up. Here's what I've done:
1. Uploaded swf file to includes/templates/jp/images
2. Uploaded js file to includes/templates/jp/jscript
3. Placed the following in html_header.php
4. Placed the following in Admin > Tools > Define Pages Editor > define_main_page.phpHTML Code:<script language="javascript">AC_FL_RunContent = 0;</script> <script src="includes/templates/jp/jscript/AC_RunActiveContent.js" language="javascript"></script>
Does anyone know what I'm missing? Thanks.HTML Code:<script language="javascript"> if (AC_FL_RunContent == 0) { alert("This page requires AC_RunActiveContent.js."); } else { AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0', 'width', '100%', 'height', '100%', 'src', 'slide', 'quality', 'high', 'pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'window', 'devicefont', 'false', 'id', 'slide', 'bgcolor', '#ffffff', 'name', 'slide', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','sameDomain', 'movie', 'slide', 'salign', '' ); //end AC code } </script> <noscript> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="925" height="355" id="slide" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="slide.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="slide.swf" quality="high" bgcolor="#ffffff" width="925" height="355" name="slide" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </noscript>