Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    7
    Plugin Contributions
    0

    Default Flash on DefineMainPage

    Following the instructions on the wiki. Searched the forum but seems like every time someone had a problem, someone else just solved it for them without posting the solution.

    I'm just trying to add a flash object to my main page.

    www.tops-malibu.com
    Code looks like this so far:
    Code:
      <object type="application/x-shockwave-flash" data="http://www.tops-malibu.com/includes/templates/TopsMalibu/TopsBanner/topsbanner.swf" width="607" height="290">
    <param name="movie" value="http://www.tops-malibu.com/includes/templates/TopsMalibu/TopsBanner/topsbanner.swf" />
    <param name="quality" value="high"><param name="BGCOLOR" value="#000000">
    <param name="menu" value="false">
    </object>
    Help.

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Flash on DefineMainPage

    What's wrong with the current code? The flash is not displayed?
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Nov 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Flash on DefineMainPage

    Correct. Not in Safari or Firefox anyways.
    I'm adding this code via the define pages editor.

  4. #4
    Join Date
    Nov 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Flash on DefineMainPage

    Now I'm attempting to do it with the .js technique, and it still wont display.

    if I go to http://www.tops-malibu.com/includes/...topsbanner.swf it loads up.

    The js is clearly loading a space for the flash. Ack.

  5. #5
    Join Date
    Nov 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Flash on DefineMainPage

    This is my javascript code, stored in includes/templates/TopsMalibu/jscript/

    Code:
    document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
    document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
    document.write('WIDTH="607" HEIGHT="290" id="topsbanner" ALIGN="">');
    document.write('<PARAM NAME=movie VALUE="http://www.tops-malibu.com/includes/templates/TopsMalibu/TopsBanner/topsbanner.swf"> <PARAM NAME=loop VALUE=true> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#ffffff> <EMBED src="http://www.tops-malibu.com/includes/templates/TopsMalibu/TopsBanner/topsbanner.swf" loop=true menu=false quality=high bg############################## WIDTH="607" HEIGHT="290" NAME="topsbanner" ALIGN=""');
    document.write('TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
    document.write('</OBJECT>');
    This is the code i've inserted into the define pages main page:

    Code:
    <script src="includes/templates/TopsMalibu/jscript/topsbanner.js"></script>
    The swf is located at http://www.tops-malibu.com/includes/...topsbanner.swf

    All I get is a white box.

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

  7. #7
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Flash on DefineMainPage

    Quote Originally Posted by chequepoint View Post
    Now I'm attempting to do it with the .js technique, and it still wont display.

    if I go to www.tops-malibu.com/includes/templates/TopsMalibu/TopsBanner/topsbanner.swf it loads up.

    The js is clearly loading a space for the flash. Ack.
    Boy that's a large loader... Your code inserting the flash is correct... but your action script is not following. Where did you but the xml file? Your action script says it should be at the root
    tops-maibu.com/imageData.xml
    imageData.load("imageData.xml');

    Some of these loaders require the swf and xml files to be at the root. If your the coder of the swf, then you may need to play with the addressing until you get it... imageData.load("includes/templates/TopsMalibu/TopsBanner/imageData.xml');

    If your not the coder, then try placing the xml at the root and then check the image pathways in your xml. They may need to find the swf!
    Dave
    Always forward thinking... Lost my mind!

 

 

Similar Threads

  1. flash flash banner install on Modern Zen [RI07] Template
    By firefly143 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 18 Mar 2011, 02:25 PM
  2. Flash issue.. css flyout menu hides under flash..
    By Muzz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Sep 2009, 06:41 AM
  3. 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