472,967 Members | 1,939 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,967 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 1169
    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: lllomh | last post by:
    Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
    2
    by: DJRhino | last post by:
    Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
    2
    by: giovanniandrean | last post by:
    The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
    4
    NeoPa
    by: NeoPa | last post by:
    Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
    3
    NeoPa
    by: NeoPa | last post by:
    Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
    0
    isladogs
    by: isladogs | last post by:
    The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
    3
    by: nia12 | last post by:
    Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
    0
    isladogs
    by: isladogs | last post by:
    The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
    2
    by: GKJR | last post by:
    Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

    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.