Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    324
    Plugin Contributions
    0

    Default Flash not working on my define_main_page

    I am using the following code to display flash on the define_main_page:

    <script src="../../../../../Scripts/swfobject_modified.js" type="text/javascript"></script>
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" width="750" height="350" id="FlashID" title="Ezshops">
    <param name="movie" value="Ezshops.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="8.0.35.0" />
    <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
    <param name="expressinstall" value="../../../../../Scripts/expressInstall.swf" />
    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="Ezshops.swf" width="750" height="350">
    <!--<![endif]-->
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="8.0.35.0" />
    <param name="expressinstall" value="../../../../../Scripts/expressInstall.swf" />
    <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
    <div>
    <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
    <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
    </div>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    </script>

    I am using the lastest version of Zen Cart, DreamWeaver and Xampp on Windows 7. Even when I uploaded it to the host I get nothing.

    Can someone assist in how to display a SWF file.

    Thank you
    LadyDee

  2. #2
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Flash not working on define_main_page

    One thing to check is that you have the sentence case of the file name in your define page exactly the same as the real filename, and that your path is correct to the file.

    Also, just try this on its own.

    <embed src="Ezshops.swf"></embed>

  3. #3
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,826
    Plugin Contributions
    31

    Default Re: Flash not working on define_main_page

    This is what I have at www motorvista es.

    the file is in SHOP/flash/homepage/main.swf.

    HTML Code:
    <!--english--><!-- swfobject-static publishing -->
    <script language="javascript" type="text/javascript"><!--switch swf location on protocol to avoid ie non-secure content errors-->
    //<![CDATA[
    var swf_location=(window.location.protocol == "https:")? "https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" :
    "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js";
    document.writeln('<scr' + 'ipt language="javascript" src="'+swf_location+'" type="text\/javascript">' + '<\/scr' + 'ipt>');
    //]]></script>
    <script type='text/javascript'>
    swfobject.registerObject("homepageflash", "8", "flash/swfobject/expressInstall.swf");
    </script>
    <div id="homepageflash_wrapper">
     <object id="homepageflash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="690" height="405">
    <param name="movie" value="flash/homepage/main.swf" />
    <param name="FlashVars" value="XMLSource=flash/homepage/homepage_es.xml" />
    <param name="wmode" value="transparent" />
    <!--<param name="play" value="false" />--><!--if not specified, default is true-->
        <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash/homepage/main.swf" width="690" height="405">
            <param name="movie" value="flash/homepage/main.swf" />
    <param name="FlashVars" value="XMLSource=flash/homepage/homepage_es.xml" />
    <param name="wmode" value="transparent" />
    <!--<param name="play" value="false" />--><!--if not specified, default is true-->
            <!--<![endif]-->
              <!--no flash content - single image linked to Flash Player download-->
              <a href="http://www.adobe.com/go/getflashplayer" target="_blank">
              <img src="includes/templates/MY_TEMPLATE/images/flash_background_en.gif" width="690" height="405" alt="Adobe Flash Player is not installed - get it here" title="Adobe Flash Player is not installed - get it here" /></a>
            <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object>
     </div><!-- eof homepageflash_wrapper -->
    <!-- End of define_main_page -->
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  4. #4
    Join Date
    Jul 2007
    Posts
    324
    Plugin Contributions
    0

    Default Re: Flash not working on define_main_page

    I am still getting the following: Content on this page requires a newer version of Adobe Flash Player.

    Get Adobe Flash player
    LadyDee

  5. #5
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Flash not working on my define_main_page

    So do it.

  6. #6
    Join Date
    Jul 2007
    Posts
    324
    Plugin Contributions
    0

    Default Re: Flash not working on my define_main_page

    I did this and it still does not show. I decided to use a scwoller created with sothink js web scroller and can not get it to show up either. The code for this is:

    <script type="text/javascript" src="js/stscode.js"></script>
    <center>
    <a href="http://www.dhtml-menu-builder.com" style="display:none;visibility:hidden;">Javascript DHTML Image Web Scroller Powered by dhtml-menu-builder.com</a>
    <script type="text/javascript" src="js/scroller.js"></script>
    </center>

    I used this before in a ealier version of zen cart and it worked. As I stated I have this code in the define_main_page, so it should show up when starting the project.

    LadyDee

 

 

Similar Threads

  1. adding flash to the define_main_page
    By deemurphy in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Apr 2012, 02:57 AM
  2. Emedding flash into define_main_page.php
    By bettsaj in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 11 Nov 2009, 02:15 PM
  3. Flash file in define_main_page.php obscures flyout menu
    By Yolanda in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Sep 2009, 02:01 AM
  4. Flash Movie resized in define_main_page
    By jdw1979 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Jun 2009, 05:07 PM
  5. Flash not working
    By AmandaGero in forum Basic Configuration
    Replies: 0
    Last Post: 23 Apr 2009, 10:12 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