Flash Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • malmus
    New Member
    • Jan 2008
    • 18

    Flash Problem

    I hope I am posting this question right!! I have a website with a flash banner but the banner isnt loading.

    These are the scripts and CSS I am putting in the html above the head

    [CODE=html] <script src="js/AC_RunActiveCon tent.js" type="text/javascript"></script>
    <link rel="stylesheet " type="text/css" href="css/sado.css" media="screen"/>
    <script type="text/javascript">
    function loadFlash(flash Width,flashHeig ht,flashName)
    {
    AC_RunActiveCon tent('codebase' ,'http://download.macrom edia.com/pub/shockwave/cabs/flash/swflash.cab
    #version=7,0,19 ,0',
    'width',flashWi dth,
    'height',flashH eight,
    'align','middle ',
    'src',flashName ,
    'quality','high ',
    'bgcolor','#fff ff',
    'name','foo',
    'allowscriptacc ess','always',
    'wmode','transp arent',
    'pluginspage',' http://www.macromedia. com/go/getflashplayer' ,
    'movie',flashNa me);
    }


    </script>
    [/CODE]

    This is the HTML where I am calling the function:

    [CODE=html]<a href="default.a spx" style="border:0 px;"><img style="border:0 px;" src="images/logo.gif" alt="SADO CO Ltd."/></a><img src="images/spacer.gif" alt="spacer" width="10" height="140"/><script type="text/javascript" language="javas cript">loadFlas h(730,140,'/images/flash')</script>[/CODE]



    Can you please help??? Thanks
    Last edited by eWish; Feb 20 '08, 02:18 PM. Reason: Added Code Tags
  • harshmaul
    Recognized Expert Contributor
    • Jul 2007
    • 490

    #2
    have you tried loading it with out the javascript? I mean pure html.

    Also it apears that the reference to your flash file may be wrong, i can't see an extension.

    W3C's easy-to-use markup validation service, based on SGML and XML parsers.

    Comment

    • malmus
      New Member
      • Jan 2008
      • 18

      #3
      Originally posted by harshmaul
      have you tried loading it with out the javascript? I mean pure html.

      Also it apears that the reference to your flash file may be wrong, i can't see an extension.

      http://validator.w3.org/docs/help.html#faq-flash

      Yes i tried and it worls fine. How can i solve it please?

      Comment

      • harshmaul
        Recognized Expert Contributor
        • Jul 2007
        • 490

        #4
        Also it apears that the reference to your flash file may be wrong, i can't see an extension.

        The code you have is...

        Code:
        LoadFlash(200,200,'images/flash')
        changes that to...

        Code:
        LoadFlash(200,200,'path/to/flash.swf')
        NOTE: the extension

        Comment

        Working...