Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30
  1. #21
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Inserting Flash File On Main Page


  2. #22
    Join Date
    Dec 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Inserting Flash File On Main Page

    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

  3. #23
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Inserting Flash File On Main Page

    Thjere is more to this than what you posted. Like the js etc follow all steps

  4. #24
    Join Date
    Dec 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Inserting Flash File On Main Page

    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

  5. #25
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Inserting Flash File On Main Page

    Here is a main page sample entry that works if other things are in place:
    Code:
    <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>
    Adjust tag names as desired & replace with your info

  6. #26
    Join Date
    Dec 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Inserting Flash File On Main Page

    Kobra,


    Thank you very much for the help. I really appreciate it. But where do I put this code?

    Derwin

  7. #27
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Inserting Flash File On Main Page

    I posted this earlier:
    Quote Originally Posted by myself
    admin > tools > defins page editor > main_page.php

  8. #28
    Join Date
    Dec 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Inserting Flash File On Main Page

    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

  9. #29
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Inserting Flash File On Main Page

    Your flash image file goes here includes/templates/your_template/images/XXXXXX.swf

  10. #30
    Join Date
    Apr 2007
    Posts
    72
    Plugin Contributions
    0

    Default Re: Inserting Flash File On Main Page

    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

    HTML Code:
      <script language="javascript">AC_FL_RunContent = 0;</script>
    <script src="includes/templates/jp/jscript/AC_RunActiveContent.js" language="javascript"></script>
    4. Placed the following in Admin > Tools > Define Pages Editor > define_main_page.php

    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>
    Does anyone know what I'm missing? Thanks.

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Inserting GIF Animation to main page
    By eberrios in forum General Questions
    Replies: 5
    Last Post: 24 Sep 2010, 11:31 PM
  2. inserting email address into my main page
    By Dale Dugas in forum General Questions
    Replies: 2
    Last Post: 19 Feb 2010, 05:01 PM
  3. Inserting image into main page
    By Birdy Box in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Nov 2009, 12:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg