Onload Problem works with IE but nothing else

I have a flash file in my page which I control the time line
from buttons . Code as follows.
I load my swf into a container div with swfobject.
var flashvars = {};
var params = {};
params.menu = "false";
params.wmode = "opaque";
var attributes = {};
attributes.id = "FlashIntro";
swfobject.embedSWF("./Flash/Banner.swf", "Flashmovie", "914", "201", "8.0.0", "./Flash/expressInstall.swf", flashvars, params, attributes);
I control its timeline with this code.
function thisMovie(movieName) {
  // IE and Netscape refer to the movie object differently.
  // This function returns the appropriate syntax depending on the browser.
  if (navigator.appName.indexOf ("Microsoft") !=-1) {
    return window[movieName]
  } else {
    return document[movieName]
// Checks if movie is completely loaded.
// Returns true if yes, false if no.
function movieIsLoaded (theMovie) {
  if (typeof(theMovie) != "undefined") {
    return theMovie.PercentLoaded() == 100;
  } else {
    return false;
function go(theFrame) {
  if (movieIsLoaded(thisMovie(movieName))) {
    thisMovie(movieName).GotoFrame(theFrame);
The function go is run onload in the body tag.
set up cookies
//Get cookie routine by Shelley Powers
function get_cookie(Name) {
  var search = Name + "="
  var returnvalue = "";
  if (document.cookie.length > 0) {
    offset = document.cookie.indexOf(search)
    // if cookie exists
    if (offset != -1) {
      offset += search.length
      // set index of beginning of value
      end = document.cookie.indexOf(";", offset);
      // set index of end of cookie value
      if (end == -1) end = document.cookie.length;
      returnvalue=unescape(document.cookie.substring(offset, end))
  return returnvalue;
function blue() { document.cookie="sitename=0" ;}
function green() { document.cookie="sitename=1" ; }
function red() { document.cookie="sitename=2"; }
function orange() { document.cookie="sitename=3" ;}
function yellow() { document.cookie="sitename=4" ; }
function purple() { document.cookie="sitename=5" ;}
set variable result to positon in timeline
var result=get_cookie("sitename");
The functions above control the timeline position and set a cookie variable result is last position so when you leave the page it remembers last position.
<body onload="go(result);">
It works fine in IE but any other browser it don't work.
<body onload="go(result);">
Please can anyone advise me

Sorry that still only works in IE.

Similar Messages

  • Time capsule wifi stops working with MacBooks, but nothing else

    I have a newer model time capsule.  Lately, the wifi stops working intermittently on my macbook pro and the wife's macbook air.  While this is happening, our iphones and other peripherals have functional wifi.  This resolves if I reboot the time capsule.  Even more weird is that the 'guest network' on the time capsule will work fine while the main wifi network remains non-functional.
    Fairly annoyed, please help

    It isn't strange at all.. it is a feature of Lion.. totally unstable useless networking.. particularly wireless.
    I would be very surprised if you came back and told me you were on Snow still.
    If Lion was installed by upgrade, worse and worse.. clean install seems to reduce if not remove the issues.
    So ring Apple .. keep annoyed at their new vista class OS. Did you turn that off and on again??
    I can suggest a few things..
    Short wireless and network names.. no spaces.. pure alphanumeric. Different name for 5ghz to stop band swapping.
    Lock wireless to on a/n -b/g
    Lock wireless channels.
    Use wpa2 personal security only.. with 8-12 character passkey.. pure alphanumeric.
    Set dhcp to very short lease time.. 30min.. might help Lion to remember the name of the TC.. otherwise it suffers from early onset dementia and alzheimer's.

  • DVD/CD Drive Problem: Works with DVDs, but won't Read CDs

    As the title states, my laptop's CD drive will not read CDs (it is a satellite A205 by the way).  The yellow light lights up, it makes noises as if it is trying to read the CD, but just doesn't do it.  It won't show up as a CD being there when I look it up on "computer".  On the other hand, when I put a DVD in, it works no problem.  Anyone have any idea of what I could do?  I've tried uninstalling the driver on device manager and restarting the computer, thus allowing it to reinstall it, and it didn't help.  Any and all help is greatly appreciated!

    Try cleaning out the drive with compressed air and/or a lens cleaning disk.  This often times helps. 
    Next try booting to a Linux Live CD or some other Self Booting CD like Memtest.  If it doesn't then you know for sure that the drive itself is defective as you are taking Windows out of the equation.  If it does, then you know it's a Windows problem which will more than likely require restoring the system to it's factory out of box state using the Recovery DIsks to fix.
    If the drive works with a Live CD then try going into device manager, uninstall the DVD drive, then reboot the system to have Windows automatically re-install it.  This sometimes helps as well.
    If you don't post your COMPLETE model number it's very difficult to assist you. Please try to post in complete sentences with punctuation, capitals, and correct spelling. Toshiba does NOT provide any direct support in these forums. All support is User to User in their spare time.

  • Since the last update of iTunes genius will not work it updates but nothing else

    since Itunes last update I can not get genius to work, it updates but when i click on start genius nothing happens, i am verily new to this so i am not sure what to do, it did work great before this update. i now have a new ipad mini and would love to have this working.

    Hi there navicin79,
    You may find the troubleshooting steps in the articles below helpful. The first thing I would try is reinstalling iTunes as outlined in the first article.
    Troubleshooting iTunes installation on Mac OS X
    http://support.apple.com/kb/ht2311
    OS X Mavericks: If an app freezes or quits unexpectedly
    http://support.apple.com/kb/PH13975
    -Griff W. 

  • ISight working with only Safari, nothing else

    My built-in MacBook iSight is only working with Safari (at like video sites), but it won't work with iChat or Photo Booth. I have no idea how to try to fix this.

    You have to quit Safari before it will work in another application.

  • Facetime works with USB UVC gearhead webcam but nothing else does

    I have a gearhead USB 2.0 webcam that facetime easily see but nothing else does
    It is a model WC4750AFB from gearhead it uses USB 2.0 Connectivity with UVC and Facetime sees it but I can not get any other applications to use it
    Why can one app on my mac mini find and use it suxxesfully and others can't. This is really stupid. There is no basic instruction onhow to setup facetime or find out how it can see the webcam and it would be nice to know so I can get it working with my other app on my MAC mini

    Logitech - HD Webcam C615
    http://www.bestbuy.com/site/logitech-hd-webcam-c615/2588445.p?id=1218337862339&s kuId=2588445
    Logitech - C920 Pro Webcam
    http://www.bestbuy.com/site/logitech-c920-pro-webcam/4612476.p?id=1218501788204& skuId=4612476
    I know FOR A FACT that those two WILL WORK with Mt. Lion and ALL Mac Apps that use a cam.
    Skype too.
    I really like the 920. It shoots in 1080p HD. EXCELLENT picture quality and video quality.

  • My Mac Pro is not displaying any images for videos or games, it is showing sound and working but nothing else. DVD player is also coming up with an error.

    My Mac Pro is not displaying any images for videos or games, it is showing sound and working but nothing else. DVD player is also coming up with an error. I'm not sure why neither is working, it just suddenly happened. I have done nothing different.

    Lao Bo,
    yes, you can locate and copy a file from your HD to a USB key using UNIX commands. If you know the exact name of the file which you’re trying to locate, try this:
    find / -iname filename -print
    This command will search your entire internal disk for the particular filename. If you know that it’s within a particular user account, then you can save search time with this variation:
    find /Users/username -iname filename -print
    Either variation of this command will print all files found which have the given filename. Presuming that you’re able to identify the correct file, you can copy it to a USB key using the command
    cp -p filename_returned_by_find /Volumes/USB_volume
    If you’re not sure which volume name your USB key has, this command will show you what the possibilities are:
    ls /Volumes
    Please let me know if you have any trouble with these commands.

  • FireFox works, but nothing else with TC

    Hello!
    I recently have begun experiencing problems with my 2 week old TC. I just moved and I am receiving my net from a rental apartment in a college town. The plug into the net is simply an ethernet jack. I don't know who provides the service.
    My TC only works with FireFox and not safari, itunes, or checking for updates. Yet, another mac that's in the same room as me has no problems working with safari, itunes, firefox, or software updates.
    This is troubling as everything worked on both computers perfectly at the old place, which also was just an ethernet jack into the wall. The mac TC is not working with is my iMac, and it's working fine with a PowerBook G4. I'd like to also say that network diagnostics does not find any problems and says everything should be working. I am hoping for some insight into this!
    Thanks

    I'd like to simply mention that I solved the problem already and to provide the reason TC wasn't working (or perhaps any wifi!).
    I had recently tried to get my iPhone 3G's application NetShare to work on my iMac and I had manually put in a port and IP address that the computer would use or maybe only use. Anyway, in getting rid of that, it easily found Safari and everything is smooth.

  • TS1702 Maps program does not work. In standard it only shows a grid. If I ask for a route it shows start and end point and three route boxes but nothing else. It does show directions. If I switch to hybrid it shows to routes but no roads. Background is a

    Maps program does not work. In standard it only shows a grid. If I ask for a route it shows start and end point and three route boxes but nothing else. It does show directions. If I switch to hybrid it shows to routes but no roads. Background is a blur.

    Do you have a question? This is a user to user help forum. Apple is not here only other users like yourself. You don't report problems to Apple here.
    By the way, it might help if you indicated where you are located.
    To complain to Apple use http://www.apple.com/feedback/ipad.html

  • The bookmark feature has stopped working, I can only bookmark my homepage (google search) but nothing else.

    Firefox is simply unresponsive when I try to save a page as a bookmark, I have tried clicking the star in the URL bar, using ctrl-D, right clicking on the page, and saving from the bookmarks tab. None of these options do anything at all.
    I have tried turning off different add ons but have not had any success. The only time I can get it to save a bookmark is if I bookmark my homepage, then it will save that, but nothing else.

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • I originally set up my iTunes account on my computer at work, now that I got a home computer and authorized it, i have not been able to sync my apps from my iTouch to my home coumpter, it transferrred my music but nothing else. What am I doing wrong?

    I originally set up my iTunes account on my computer at work, now that I have a home computer and authorized it, i have not been able to sync my apps from my iTouch to my home coumpter, it transferrred my music but nothing else. What am I doing wrong?

    Hello John,
    It sounds like your music was copied from your iPod Touch but not your installed apps. I want to recommend this article to help you Transfer your Purchases named:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/ht1848
    You can also download your apps using your purchased history in iTunes with this article:
    iTunes 11 for Mac: Download previous purchases from the iTunes Store
    http://support.apple.com/kb/PH12283
    Click iTunes Store near the top of the iTunes window.
    Click the Purchased link at the right of the iTunes Store homepage (below Quick Links).
    In the page that appears, select a category.iTunes shows you which of your purchases are available for download. You can view all of your past purchases, or just the ones not currently in your iTunes library. Items already in your library aren’t available for download.If you select Music, you can view your purchases by song, artist, or album. If you’re viewing by album, click an album to see which songs on it are available for downloading.To search for an item, type its name or a keyword in the search field, and then press the Return key to view your search results.
    To download an item, click its Download button .To download all available items, click Download All.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • When I click on "App Store", the loader gets stuck on "Contacting iTunes Store..." I can click on the "iPod Click Wheel Games" and it works, but NOTHING else.

    I can click on the "iPod Click Wheel Games" and it works, but NOTHING else. Any suggestions?

    I was having this problem. The settings on my wireless router was set to hide my IP address so it wouldn't connect. When I changed that, I connected no problem. While this is annoying since I don't want my IP address to be out there, I just switch my router when I need to connect to the App/iTunes Store. Hope this helps. It worked for me.

  • My apple tv stopped working. When I hit a button on the remote I see the signal gets to the Apple TV because the little light flicks but nothing else happens. Anyone know how to fix this??

    My Apple TV suddenly stopped working. When I hit a button on the remote the light on the apple tv flickers but nothing else happens. Anyone know how I can fix this?

    I had the same problem; Apple TV was working proper then for no reason I got the continuous blinking front LED.  The Apple TV has no sound or video output at all.  I tried reseting the Apple TV via my Apple remote controller but that didn't do anything for me.  I finally called Apple and they told me that the way to fix my box is to reset the Apple TV to factory default.  So I had to attach the Apple TV to one of my Apple computers and launch iTunes.  Once iTunes was running it recognized my Apple TV and I clicked on the option to restore to factory default.  After the restore my Apple TV now works properly.  My final action on the Apple TV was to sign into my account and enter my password.

  • I am trying to install my CS4 Suite onto new PC with Windows 8.  It installed Photoshop but nothing else.  It is asking me to "Install with 'setup.exe'"  Which i dont think is on there.  Is there a way around this?  Thanks in advance.

    I am trying to install my CS4 Suite onto new PC with Windows 8.  It installed Photoshop but nothing else.  It is asking me to "Install with 'setup.exe'"  Which i dont think is on there.  Is there a way around this?  Thanks in advance.

    Run the cleaner tool and reinstall with sufficient user privileges and security stuff turned off. Your install went wrong because you didn't consider this.
    Mylenium

  • After turning on iMAC the sign in page comes up and accept my password. It then goes to a page with a background pictures but nothing else. If I leave it there it eventually fades and shows the clock.  How to I get it to open from there?

    After turning on iMAC the sign in page comes up and accept my password. It then goes to a page with a background pictures but nothing else. If I leave it there it eventually fades and shows the clock.  How to I get it to open from there?

    Hello,
    See if it'll Safe Boot from the HD, (holding Shift key down at bootup).

Maybe you are looking for