Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2007
    Posts
    47
    Plugin Contributions
    0

    Default How/Where do I add Flash Script to Zen-Cart?..

    What is the trick to make it work? What do I place where?

    I have just created a Flash file with graphics, links and such - for an ez-page and another for the home page...
    I have the script and html from Flash CS4.
    What is the trick to make it work? What do I place where?
    I don't see any comments these past 3 years - so I must be looking in the wrong place... Or it is too easy and I can't see it...
    I know how to add the code for animated .gifs, just not .swf

    When these work I will also make a new dropdown menu also -


    Thanks..
    KevinW
    =====

  2. #2
    Join Date
    Feb 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: How/Where do I add Flash Script to Zen-Cart?..

    well for the home page why don't u add it to the index.php page in your public_html folder for the ezpages maybe you just add the script normally but don't quote me on that part

  3. #3
    Join Date
    Mar 2007
    Posts
    47
    Plugin Contributions
    0

    Default Re: How/Where do I add Flash Script to Zen-Cart?..

    I got this to work - through lots of looking and trials...

    <object type="application/x-shockwave-flash" data="images/banners/home090622b.swf" width="515" height="535">
    <param name="allowScriptAccess" value="always" />
    <param name="movie" value="images/banners/home090622b.swf">
    <param name="quality" value="high"><param name="BGCOLOR" value="#ffffff">
    <param name="menu" value="false">
    <param name="wmode" value="opaque">
    <embed src="images/banners/home090622b.swf" quality="high" bgcolor="#ffffff" width="515" height="535" name="home090622" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" wmode="opaque"/>
    </object>


    ========================
    Changes from the code generated in Flash...

    To stop "sandbox errors" as I linked from flash to website.
    <param name="allowScriptAccess" value="always" />
    allowScriptAccess="always"

    To allow css drop-down menu to show over the flash movie
    <param name="wmode" value="opaque">
    wmode="opaque"

    Find file with relative addressing - no initial "/"
    <param name="movie" value="images/banners/home090622b.swf">
    data="images/banners/home090622b.swf"
    src="images/banners/home090622b.swf"

    This also works with direct addressing "http://www...etc" but
    then it needs to be changed from test to production environment. Same for the flash files...

    I did not use the general solutions (swobject) as it didn't seem to be necessary.

    Works on Firefox, IE, Safari all tested on a pc.

 

 

Similar Threads

  1. Lightbox - how to open a flash script
    By Barracus in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Jul 2010, 06:58 PM
  2. How do you use adobe flash with the zen cart?
    By cybervisoin designs in forum General Questions
    Replies: 2
    Last Post: 21 Feb 2010, 08:15 PM
  3. How create flash pages under zen cart?
    By shahzaman in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Feb 2009, 12:44 PM
  4. How can I Get the Zen Cart Version Using a Script?
    By ciel_bleu in forum General Questions
    Replies: 8
    Last Post: 5 Dec 2008, 08:35 PM
  5. Replies: 5
    Last Post: 20 Nov 2006, 05:57 AM

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