How can I get this flash timer to work?

I am working on a flash game for an assignment, however when I follow the directions the timer does not count down.  I do not receive a syntax error, yet it still doesn't work.  I am stuck. 
//SET TIMER
Time = 40;
Time_Text.text = Time;
//TIMER
countDown = function(){
    Time--;
    Time_Text.text = Time;
    if (Time == 0){
    Ship.gotoAndPlay("sink");
    gotoAndStop("Lose");

There is no syntax error, I believe
countDown = function(){
    Time--;
    Time_Text.text = Time;
    if (Time == 0){
    Ship.gotoAndPlay("sink");
    gotoAndStop("Lose");
is calling the function.

Similar Messages

  • How can i get this set up to work? PLEASE HELP

    Ok so right now i have a airport express, and i bought a xbox 360. I want a wired connection for my xbox 360, so the guy at bestbuy said to buy a dlink EBR-2310 switch so i would still have a wireless connection for all the laptops, phone, etc in my house, and still get a wired connection for my xbox from the switch.
    How can i make this setup work?
    Modem -> Dlink EBR-2310 Switch -> Airport Express
    I tryed connecting it all but i cant load a single web page on anything connected to the airport express which is a big problem. PLEASE HELP I CANT RETURN THE SWITCH, THANKS.
    btw i would connect the xbox through ethernet from the switch.

    Unfortunately the advice you got was not correct. The issue is that the modem is only expecting a single device to be connected to it. By connecting a Ethernet switch directly to the modem, the modem will provide an IP address to the first device it "finds." That means all other devices will not gain access.
    What you needed to connect to the modem was a router with a built-in Ethernet switch, like the AirPort Extreme or similar router.

  • How can I get this lousy browser to work?

    Where to start... First off there's never anyone on live chat. Second, none of my yahoo groups work with this browser and neither does my hotmail account. This browser was downloaded into my computer by a microsoft tech after I paid to have my computer fixed. I wish I was told what he was putting in. I was having trouble with my internet explorer and couldn't afford to pay the higher price. I updated firefox and used the troubleshooting guide to enable cookies and still this piece of crap browser still doesn't work! I'm stuck with it till I can get my internet explorer back. I've also had trouble viewing other websites...

    There is no syntax error, I believe
    countDown = function(){
        Time--;
        Time_Text.text = Time;
        if (Time == 0){
        Ship.gotoAndPlay("sink");
        gotoAndStop("Lose");
    is calling the function.

  • I'm running 3.6.10 on a Vista box and for several days, Firefox has been attempting unsuccessfully to install an upgrade to 3.6.12. How can I get this update to either work or stop trying.

    The next time it happens, I'll append the error message, and more details, but essentially after downloading something an alert box appears stating that Firefox cannot complete the update because it can't install the update. No reason given or actually even a name for the update.

    The next time it happens, I'll append the error message, and more details, but essentially after downloading something an alert box appears stating that Firefox cannot complete the update because it can't install the update. No reason given or actually even a name for the update.

  • Downloaded itunes will not open, "the file iTunes Library.itl" cannot be read because it was created by a newer version of iTunes.  How can I get this darn thing to work????????????????????????????//

    At first I updated iTunes and tried to download an audio book. It locked up and closed me out so I removed iTunes completely and reinstalled.  Now it won't even open the stupid program.  What do I need to do?  Any help please????????

    Had same problem and solved it without having to reinstore any music or movies:
    1. Delete old Library file
    2. Go to the 'Previous iTunes Libraries' folder and copy one of the earlier files - note, they have a date extension, e.g. 'iTunes Library 2011-11-01'.
    3. Paste this file in your iTuners folder and rename file by removing the date extension -  'iTunes Library'
    You should have all your music and paylists in tact, unless it was a really old previous file.

  • How Can I get this HTML widget to work in muse

    <iframe id=”banner2″ style=”width: 227px; height: 310px; overflow: hidden;” name=”countdownFrame” src=”http://nationalday.web803.discountasp.net/countdown/timer2.html” height=”310″ width=”227″ frameborder=”0″ marginwidth=”0″ marginheight=”0″></iframe>

    Hi,
    Did you try to insert this code from object -> Insert Html. I tried, it shows error for the url http://nationalday.web803.discountasp.net/countdown/timer2.html, but works fine. Here is the screenshot. http://prntscr.com/2sewag
    Please let me know if you need something else

  • How can I get my excel spreadsheet to work in numbers

    How can I get this budget sheet to work in numbers when it's from excel.

    I couldn't get the picture of the whole thing it wouldn't load but you see where it say like 700.00 then below that it say 175.00 well that part works telling me what I need to know but when it get to where it says the 850 it stops working? it won't sum it out or something I'm not great with excel and this was sent to me by a first and it's our budget plan and I really need to be able to use it

  • TS1702 My cars 2 app mate app is not working after upgrading from ipad to ipad 2...... synced.... uninstalled and re installed several times as well as wiped ne ipad out and re did the whole proccess several times. how can I get this app working?

    I have installed the cars 2 app mate on a ipad 2 from an ipad 1 synced with itunes account.. all is working except this app. After many times of un installing and re installing aswell as talking to apple tech suport this app is still not working.... its there it just has no function...... how can i get this installed and working, my grandson is autistic and uses this app many hours a day........ it is important for me to get this up and running again for him.......

    (1) So, I found a youtube video showing how to open up my iMac and replace a Disk drive. I opened it. I removed the disk drive. I opened the metal cover of the lid of the disk drive. It was clean and immaculate; so, it destroyed and debunked the dirty drive theory. But, just to make sure I sucked around the optical sensor with a vacuum and gently brushed it with a Q-tip.
    (2) I then watched a you tube video showing how the drive operated (it was a drive supplied with power outside an iMac with a transparent cover unlike the opaque metal cover that we have on our drives). My scientific curiosity started to wonder if somehow the mechanical part (of the electro-mechanical assembly) was locked or jammed. So, I started messing with the arms with the utmost care after watching the video to see if i could move them manually. Yes on some. The main arm that is linked with the drive motor was immovable. The rest I played with a little bit, took great notice in the start of the video to see how the arms looked before inserting a disk. I then put it all back together.
    It works now. My guess is that taking it out and then placing it back in along with the resetting options that others have done was the trick. I believe it is a possibility that the hard drive became locked mechanically in some strange manner after ejecting a DVD in conjunction with the uploading of the new OS. I believe the actual removal, reinstallation, and resetting of the drive put everything back into sync. My computer sits in a climate controlled dust free environment. I knew for a fact that this hard drive was OKAY.

  • My ipod nano was synced by itunes and removed all of my music and game files. I am in the process of adding my music back one cd at a time, but there is no history of tetris that I paid for from the itunes store. How can I get this game back for my ipod?

    My ipod nano was synced by itunes and removed all of my music and game files, and replaced my music with my kids music that they have put into the current itunes library. My music is nowhere to be found on my computer, so now  I am in the long, forever process of adding my music back one cd at a time, but there is no history of tetris that I paid for from the itunes store. How can I get this game back for my ipod?

    Contact iTunes support and explain your situation to them.  They may let you redownload it at no cost.
    http://www.apple.com/support/itunes/contact.html
    If they don't, I'm afraid you'll have to purchase it again.  Sorry.
    B-rock

  • I have adobe CS 5.1 and recently (after an update) it is giving me an error (Could not save...because of a program error) every time I try to save my work as a PDF   Help how can I get this resolved??

    I have adobe CS 5.1 and recently (after an update) it is giving me an error (Could not save...because of a program error) every time I try to save my work as a PDF>  Help how can I get this resolved??

    Run the cleaner, reinstall.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    And don't bother with running any updates unless you really need them or they fix a critical issue relevant to your workflow.
    Mylenium

  • I cut and pasted a description from the Internet. It posted as a link in iPhoto. It seems to have made a global change--all my descriptions are now blue, underlined, and Times Roman 12 rather than Arial white. How can I get this back to the default?

    I cut and pasted a description from the Internet. It posted as a link in iPhoto. It seems to have made a global change--all my descriptions are now blue, underlined, and Times Roman 12 rather than Arial white. How can I get this back to the default?

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • I have the Photoshop Photography Program and every time I try open Photoshop CC it asks me for a Serial Number. It keeps saying my trial period has ended. How can I get this working since Adobe doesn't issue Serial Numbers for CC.

    I have the Photoshop Photography Program and now every time I try open Photoshop CC it asks me for a Serial Number. It keeps saying my trial period has ended. How can I get this working since Adobe doesn't issue Serial Numbers for CC.

    Jodie84,
    I have just checked your account and found that you indeed have bought a Creative Cloud for Teams subscription but you have assigned the single seat to another user hence you ( If you are using your own Adobe ID ) are getting the trial error message.
    Two options : Either reassign the seat to your self or add an additional seat and invite your self in the same Team.
    Cheers,
    Kartikay Sharma

  • In version 3.x.x I used to be able to type search terms into the address bar and the page would load, similar to Google's "Feeling Lucky" button. Now it just brings up a Google search for the terms I typed in. How can I get this time saving feature back?

    In version 3.x.x I used to be able to type search terms into the address bar and the page would load, similar to Google's "Feeling Lucky" button. Now it just brings up a Google search for the terms I typed in. How can I get this time saving feature back?

    The change between Firefox 3.6.* and Firefox 4 is how location bar search works. In Firefox 3.6 it uses Google "Browse by name" search. With the browse by name search, it performs a Google search and if there is a clear match it will take you to the site, otherwise it shows the Google search result. With Firefox 4 it just performs a Google search if you type something which is not recognised as a URL.
    To get the Firefox 3.6 behaviour on Firefox 4 you need to change a hidden preference.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''keyword.URL''', double-click on it and change its value to the link shown below
    [http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q= http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=]
    If you prefer, you can also do this by installing the Browse by Name extension - https://addons.mozilla.org/firefox/addon/browse-by-name

  • All of my purchased apps (games) and apps such as Weight Watchers, Facebook, WeatherBug, Sports and Pinterest, Notes, Nook, etc.  are all locked up.  They simply flash, then nothing!  How can I fix this to make them work again.

    First Issue:   All of my purchased apps (games) and apps such as Weight Watchers, Facebook, WeatherBug, Sports and Pinterest, Notes, Nook, etc.  are all locked up.  They simply flash, then nothing!  How can I fix this to make them work again?  If I have to delete the purchased apps, will they still be in iTunes, or will I have to re-purchase them? 
    Second Issue:   When I synced to my desktop (Windows XP)  All my photos loaded onto my iPad2.  I don't really want all 3000 + pics on my ipad!!  How do I get them off?  Next time I synced, they loaded again!  Now I have so many duplicates!  How do I get rid of the photos and prevent this from happening again?

    If none of your third-party apps are working, but the Apple built-in ones are ok, then try downloading any free app from the store (as that appears to reset something) and then re-try them - the free app can then be deleted. In terms of re-downloading apps then you can do so as long as they are still available in the store, and you use the same iTunes account as you originally used to buy them, then you should be able to re-download them for free : http://support.apple.com/kb/HT2519
    For synced photos, then with the iPad connected to and selected on the left-hand side of your computer's iTunes, then on the Photos tab on the right-hand side you can control which photos are synced to the iPad : http://support.apple.com/kb/HT4236 . If you don't want any photos to be synced then try selecting just an empty folder.

  • How can I get the elapse time for execution of a Query for a session

    Hi ,
    How can I get the elapse time for execution of a Query for a session?
    Example - I have a report based on the procedure ,when the user execute that it takes say 3 min. to return rows.
    Is there any possible way to capture this session info. for this particular execution of query along with it's execution elapse time?
    Thanks in advance.

    Hi
    You can use the dbms_utility.get_time tool (gives binary_integer type value).
    1/ Initialize you time and date of beginning :
    v_beginTime := dbms_utility.get_time ;
    2/ Run you procedure...
    3/ Get end-time with :
    v_endTime := dbms_utility.get_time ;
    4/ Thus, calculate elapsed time by difference :
    v_elapsTime := v_endTime - v_beginTime ;
    This will give you time elapsed in of 100th of seconds...
    Then you can format you result to give correct print time.
    Hope it will help you.
    AL

Maybe you are looking for

  • 110v to 220v imac

    Can I use an imac bought in America in Australia without a transformer?

  • Problem in bdc of material master

    Dear all, I have made BDC for material master . In selection option i selected Quality management view, i completed the recording. while running the prgm its not selecting the qm view fields, so here  i cannt upload the record for qm view only,  I tr

  • Need help on remote printing info for custom PDF form...

    Hi, I did quite a lot of search on this requirement but failed to access the correct info in this forum. In case anyone has already done this, please do explain and point to the right link. thanks I have a custom table where I will maintain every cus

  • Spreadsheet software?

    I've tried using Appleworks spreadsheet software for my former Excel documents but I need a feature that Appleworks doesn't seem to have -- separate tabbed spreadsheets within one document. Can anyone recommend spreadsheet software for Tiger that has

  • Album wall in iTunes 11?

    The other day, I saw someone using Album Wall (the new iOS music feature) inside iTunes for Mac! How did he do it?