473,399 Members | 3,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Flash Problem

18
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

Expand|Select|Wrap|Line Numbers
  1.    <script src="js/AC_RunActiveContent.js" type="text/javascript"></script>
  2.     <link rel="stylesheet" type="text/css" href="css/sado.css" media="screen"/>
  3.     <script type="text/javascript">
  4.                     function loadFlash(flashWidth,flashHeight,flashName)
  5.                 {
  6.                 AC_RunActiveContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab
  7. #version=7,0,19,0',
  8.                                                                                                                                     'width',flashWidth,
  9.                                                                                                                                     'height',flashHeight,
  10.                                                                                                                                     'align','middle',
  11.                                                                                                                                     'src',flashName,
  12.                                                                                                                                     'quality','high',
  13.                                                                                                                                     'bgcolor','#fffff',
  14.                                                                                                                                     'name','foo',
  15.                                                                                                                                     'allowscriptaccess','always',
  16.                                                                                                                                     'wmode','transparent',
  17.                                                                                                                                     'pluginspage','http://www.macromedia.com/go/getflashplayer',
  18.                                                                                                                                     'movie',flashName);
                }
  •  
  •  
  •     </script>
  •  
  • This is the HTML where I am calling the function:

    Expand|Select|Wrap|Line Numbers
    1. <a href="default.aspx" style="border:0px;"><img style="border:0px;" 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="javascript">loadFlash(730,140,'/images/flash')</script>


    Can you please help??? Thanks
    Feb 20 '08 #1
    3 1181
    harshmaul
    490 Expert 256MB
    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
    Feb 20 '08 #2
    malmus
    18
    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?
    Feb 20 '08 #3
    harshmaul
    490 Expert 256MB
    Also it apears that the reference to your flash file may be wrong, i can't see an extension.

    The code you have is...

    Expand|Select|Wrap|Line Numbers
    1. LoadFlash(200,200,'images/flash')
    changes that to...

    Expand|Select|Wrap|Line Numbers
    1. LoadFlash(200,200,'path/to/flash.swf')
    NOTE: the extension
    Feb 20 '08 #4

    Sign in to post your reply or Sign up for a free account.

    Similar topics

    6
    by: Gustav Medler | last post by:
    Hello, there is a known problem with Opera and the execution of content shown in <NOSCRIPT> tag. Everythings works fine, if there is only one simple script like:...
    9
    by: Keith Rowe | last post by:
    Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
    2
    by: JIM.H. | last post by:
    Hello, Our web site is developed by someone else and I see they used macromedia flash player. Now sometimes on some computers the text in the flash do not show up, and sometime it asks to download...
    1
    by: dscriv | last post by:
    Hello, I have Netscape 8.0.4 (in Firefox mode) and Flash 8.0.24.0. I also have IE and Firefox installed. If I go to this page, which contains a Flash detection movie:...
    115
    by: post2google | last post by:
    I was thinking about where to go for lunch the other day, so I went to hardees.com to see what the menu looked like these days. What comes up is a big note that my flash version is not new enough...
    5
    by: JJ | last post by:
    Although this question involves Flash, I suspect the actual issue is an asp one.. I am trying to open the web.sitemap file in an .swf file enbedded in an asp page (I'm working in VS 2005). I...
    8
    by: Neo Geshel | last post by:
    Greetings. BACKGROUND: My sites are pure XHTML 1.1 with CSS 2.1 for markup. My pages are delivered as application/xhtml+xml for all non-MS web clients, and as text/xml for all MS web...
    3
    by: bdbeames | last post by:
    I have a menu on the right side of my page and a flash object in the center. When a certain option in the menu is select a sub menu pops and floats left. The problem is, depending on the browser...
    1
    by: patronise | last post by:
    My problem is that I'm wrestling to make the LoadMovie and UnloadMovie functions work for me. Here is the layout of my flash file: I've got several seperate flash files and I can jump to any one of...
    4
    by: vijaypatidar | last post by:
    hi i am using flash action script 3 for streaming video and audio via web cam and mice to flash media server.as all know that flash uses nellymoser audio codec for recording audio. i want to convert...
    0
    by: Charles Arthur | last post by:
    How do i turn on java script on a villaon, callus and itel keypad mobile phone
    0
    by: emmanuelkatto | last post by:
    Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
    0
    BarryA
    by: BarryA | last post by:
    What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
    1
    by: nemocccc | last post by:
    hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
    1
    by: Sonnysonu | last post by:
    This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
    0
    by: Hystou | last post by:
    There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
    0
    jinu1996
    by: jinu1996 | last post by:
    In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
    0
    by: Hystou | last post by:
    Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
    0
    tracyyun
    by: tracyyun | last post by:
    Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

    By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

    To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.