Page 6 of 24 FirstFirst ... 4567816 ... LastLast
Results 51 to 60 of 235
  1. #51
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Problem with Flash Header

    So now I just put the 2 .js files in this folder as I thought you suggested, but still no change.
    I did not suggest putting js files into css folder..Only commented
    that they were not loading but stylesheets were..
    Below is sample of flash file entered into template header..
    give you an idea of how your coding should look...
    Code:
    <!--bof-branding display-->
        <script type="text/javascript" src="includes/templates/mytemplatename/js/swfobject.js"></script>
     <div id="flashcontent">
       <center>
       <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
         codebase="http://active.macromedia.com/flash2/...ersion=4,0,0,0"
         id="Movie6" width="760" height="194">
         <param name="movie" value="Movie6.swf">
         <param name="quality" value="high">
         <param name="bgcolor" value="#FFCCCC">
         <embed name="Movie6" src="Movie6.swf" quality="high" bgcolor="#FFCCCC"
           width="760" height="194"
           type="application/x-shockwave-flash"
           pluginspage="http://www.macromedia.com/shockwave/...ShockwaveFlash">
         </embed>
       </object>
    </center>
     <script type="text/javascript">
        var so = new SWFObject("includes/templates/mytemplatename/Movie6.swf", "YOUR_HEADER", "760", "194", "7", "#FFCCCC");
        so.write("flashcontent");
    </script>
    </div>
    Notice path of the swfobject.js file

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

    Default Re: Problem with Flash Header

    Thank you very, very much for your help. But WHERE do I put this code? What file should this code appear in? I really don't understand what files go where, or even what files are required.

    I am so sorry if it seems I am so stupid about this, but I have never added a flash file to zen cart before.

    Derwin

  3. #53
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Problem with Flash Header

    Before entering any code, need to make sure swf file and js file
    are in correct folders. Otherwise whatever code you enter,
    its not going to find relevant files.
    Look at my example code, and see
    where have placed the swf and swfobject.js file.
    i.e. relevant folders in your own current template
    folder

  4. #54
    Join Date
    Nov 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    Hi
    I found just use a gif file in flash so easy not swf file. Deam weaver CS3 and the new MSN 2008 front page web design both seem harder to use, so gone back to front page 2003 Jocar

  5. #55
    Join Date
    Dec 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    Here is where I have each file:

    flash swf file:

    /includes/templates/theme054/images/carousel.swf

    the flash html file:

    /includes/templates/theme054/images/carousel.html

    the AC_RunActiveContent file:

    /includes/templates/theme054/jscript/AC_RunActiveContent.js

    the swfobject file

    /includes/templates/theme054/jscript/swfobject.js

    THERE YOU HAVE IT. That is exactly where I have ALL of my flash related files located.

    Is this correct, or do I need to make changes in location?

    Derwin

  6. #56
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Problem with Flash Header

    So you now use correct code, with correct paths as you have outlined below..
    not sure why you are using html file or AC_RunActiveContent.js
    plus my swfobject.js is in folder /includes/template/mytemplate/js/
    and swf file is in /includes/template/mytemplate/
    I will check this thread for further posts later this morning..
    Currently almost 1.00am here in UK..

  7. #57
    Join Date
    Dec 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    here is the code in define_main_page.php file:

    <script src="../../../../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <script src="DWConfiguration/ActiveContent/IncludeFiles/AC_ActiveX.js" type="text/javascript"></script>

    <div align="center"><script type="text/javascript">
    AC_AX_RunContent( 'width','336','height','251','src','carousel.swf','movie','carousel.swf' ); //end AC code
    </script><noscript><object width="336" height="251">
    <param name="movie" value="carousel.swf">
    <embed src="carousel.swf" width="336" height="251">
    </embed>
    </object></noscript></div>


    IS THE ABOVE CODE CORRECT FOR THIS FILE?

    Derwin

  8. #58
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Problem with Flash Header

    Would need to see file/code, without your configuration, to
    see if you are entering correctly.

  9. #59
    Join Date
    Dec 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    Hello! I don't understand. What I posted above is the name of the file, and the code that is in the file. What else can I give you?

    I really appreciate your help with this, I am really new to zencart.

    Derwin

  10. #60
    Join Date
    Dec 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    Here is the code for this file: "Carousel.html"....

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>caraosel</title>
    <script language="javascript">AC_FL_RunContent = 0;</script>
    <script src="AC_RunActiveContent.js" language="javascript"></script>
    </head>
    <body bgcolor="#000000">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <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=7,0,0,0',
    'width', '900',
    'height', '600',
    'src', 'caraosel',
    'quality', 'high',
    'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
    'align', 'middle',
    'play', 'true',
    'loop', 'true',
    'scale', 'showall',
    'wmode', 'window',
    'devicefont', 'false',
    'id', 'caraosel',
    'bgcolor', '#000000',
    'name', 'caraosel',
    'menu', 'true',
    'allowFullScreen', 'false',
    'allowScriptAccess','sameDomain',
    'movie', 'caraosel',
    '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=7,0,0,0" width="900" height="600" id="caraosel" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="caraosel.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /> <embed src="caraosel.swf" quality="high" bgcolor="#000000" width="900" height="600" name="caraosel" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
    </noscript>
    </body>
    </html>

    SO I HAVE NOW POSTED 2 FILES WITH THE CODE. THE HTML FILE FOR THE FLASH MOVIE, AND THE DEFINE MAIN PAGE PHP FILE WITH THE CODE.

    Derwin

 

 
Page 6 of 24 FirstFirst ... 4567816 ... LastLast

Similar Threads

  1. v150 Problem with flash header size
    By GodfatherAntiques in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 21 Mar 2012, 10:12 AM
  2. Problem with flash on main page (not header)
    By sartor in forum General Questions
    Replies: 7
    Last Post: 14 Jan 2009, 10:59 AM
  3. Once again problem with Flash header
    By craigpowell in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Sep 2008, 01:42 AM
  4. Problem with Flash Header pt2
    By hondauser85 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 6 Jun 2007, 04:03 PM
  5. help with flash header
    By wizzard in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Jun 2007, 05:58 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR