I've tried every online tutorial for timer.delay + experimented... how to make it work in this sitch

Hey,
I've read literally every single timer.delay tutorial I could find online, on youtube, the official documentation, tons of posts on this forum, etc. What I am trying to say is I looked everywhere before posting for help.
I have a timer running. It runs throughout the game. I need to modify the speed of that timer when a player either hits a certain second(won't work, because the timer is already running) or when someone gets a certain score(can't get it to work, because timer is running).... so my question is how do I get timer.delay to work when the timer is running throughout the entire game. I tried to control the delay by when someone gets a point, but that didn't work either. I am using a trace statement so I see the seconds and the timer speed. the code looks something like
randomvariable = new Timer(2000,8);
timer.addEventListener(MouseEvent.CLICK, loop);
timer.start();
function loop
// my looping code here
What I posted is psuedo code.
Any ideas on how to make the timer go faster without delay, since I can't get delay to work under the circumstances I explained? Or is there a work around that I don't know about? I will try to give back to the forums by answering other questions. Oh, I am running this on the timeline, not in a .as file. Thanks so much for your help!

That's what I thought. I thought if I set a delay inside the function or in an if statement for the var that  prints out  the timer decrease that it would work. It doesn't. I'm using Adobe AIR for IOS, but I doubt that makes a difference in this case. I write timer.delay=500; that should make the timer go at 500 milliseconds. My trace shows the amount of milliseconds didn't change throughout the application. It is quite bothersome, since everything else works and every guide and the docs say what I am doing should work. Any ideas?
Thanks.
Sincerely,
Ryan Satterfield

Similar Messages

  • Time Based Workflow - how to make it work?

    Hello,
    Has anyone successfully built a Time Based Workflow? Could you share your examples?
    For me it does not work properly.
    I have tried to set up 2 workflows: on Opportunity Close Date and Account Contract Expiration Date.
    - Account Contract Expiration Date: I want an Account Owner to get an email notification exactly 6 months before the contract with his client expires. However - the email is triggered each time the record is modified - so I have seen in the workflow monitor that users on the date of contract expiration - 180 days will receive as many emails as many times they modified the record! Is there a way to avoid this situation?
    - Opportunity Close Date - I want to send an email to Opportunity Owner's Manager - 10 days after the opportunity was closed. However - there will be the same issue as above + the wait action is not working with a PRE function.
    Please let me know what you think and if you have already built a Time Based Workflow that works correctly.
    Edited by: MagdaR on May 18, 2010 1:57 AM

    Let's start with the workflow for Opty Close Date.
    There are a lot of ways to do this, so you'll need to evaluate which way is best for your case, but the basics are to check to ensure that the opty is closed for the first time, then set the flag. In order to accomodate for the opty being closed when it is created, you will have to consider a post default for the flag in addition to the workflow.
    In this case, you could create a workflow on Opty using the before modified record saved trigger event. In the Rule Condition, have the workflow check for a closed opty and if the status changed to closed during this modification. There are a number of options to validate this, including sales stage = Closed/Won or Lost, Closed Date is populated for the first time, Status is closed. In any case, just validate that the opty was closed for the first time using the PRE Function (i.e., PRE(Closed Date) is null and PRE(Closed Date)<>Closed Date). When your condition is met, set a flag that will trigger the event. You could also add a date that the wf conditions were met the first time, to ensure that you track when the rule was originally triggered.
    The next step is to have a workflow that unsets the flag if the conditions are not met. Set the order on this one to follow the rule above.
    The last rule is the wait/email rule and it uses the when modified record saved event. This rule triggers on the flag being checked, then waits to send the email.
    Test this and validate that it will work for your purposes. Based on this workflow, you should be able to create the other one, and I can help if you have any issues.
    Good Luck,
    Thom

  • Tutorial for Macromedia MX 2004 how to make a UI for a game or movie?

    My email is [email address deleted by host] I'm looking for some tutorials or links to help me start a UI in Director/Mx2004 for a project I know the Halo 2 UI was done in Director was wondering if anyone knew some tutorials or could help me out thank you.

    If you want help with Director then please repost in the Director forum.

  • Use Preview on Device for Android on Mac - how to make it working?

    We are using preview on iPad through USB connection on daily basis, but now we need to preview on Android as well.
    I've tried setup on following page, but it's not working for me - i have USB Debuging enabled (it's nicely hidden on Jelly Bean 4.2.2 on our Nexus 7), but i can't see device in Folio Builder panel in preview menu (yes, i have Adobe Content viewer as front app)
    http://help.adobe.com/en_US/digitalpubsuite/using/WS9293e1fb3b977c5c7b1f65ad12f28224932-7f f6.html
    any idea, experience?
    Thanks
    Martin

    Neil Enns - Adobe - We have followed these steps exactly.
    USB Debugging is enabled... but the device NEVER appears in the dropdown...
    We are using the native viewer app, exactly as you have described, and we still cannot get the preview on device to work?? IS there some other process we can use because the instructions in the link you just provided are not working at all.
    See my comment above:
    "Tried everything suggested in this thread but with no luck.
    The mac we are building on is running OSX 10.9.3 and InDesign CC (up to date)
    Android tablet is a samsung note, running Android 4.4.2 (developer mode / USB debugging enabled)"

  • Is there an online tutorial for IPhone 4?

    Is there an online tutorial for using the IPhone 4?  I just got one and could use some help to get started with it.

    http://www.apple.com/support/iphone/

  • Best CD or online tutorial for newbie

    Hello DW8 experts:
    Can you recommend a good cd-based or online tutorial for DW8?
    Thanks so much.
    David

    Hello there,
    If you are new to Dreamweaver 8, you might want to take a
    look at
    Captivate simulations I created for the Dreamweaver developer
    center
    http://www.adobe.com/devnet/dreamweaver/articles/dw_getting_started.html
    CD-wise I would suggest you take a look the Dreamweaver 8
    Essential
    Training from Lynda.com
    http://movielibrary.lynda.com/html/modPage.asp?ID=172
    Regards,
    Mark
    Mark Fletcher
    WebAssist.com
    muskrat897 wrote:
    > Hello DW8 experts:
    > Can you recommend a good cd-based or online tutorial for
    DW8? Thanks so much.
    > David

  • I'm trying to install Adobe PS CS3 for my boss on an other computer. I put the Program on a hard disc and copied it to the other computer now it won't open and says it needs the license. What can I do to make it work on this  computer?

    I'm trying to install Adobe PS CS3 for my boss on an other computer. I put the Program on a hard disc and copied it to the other computer now it won't open and says it needs the license. What can I do to make it work on this  computer?

    Copying the program over to a new machine will not work.   Install it using installation files and activate it using the serial number assigned to the license.
    CS3 - http://helpx.adobe.com/creative-suite/kb/cs3-product-downloads.html

  • HT3702 i recently made a download purchase for "numbers" online and the price quoted was for usd9.99 but my credit card company says that i have made an online purchase for usd39.98. How do I make a payment dispute on this purchase.?

    i recently made a download purchase for "numbers" online and the price quoted was for usd9.99 but my credit card company says that i have made an online purchase for usd39.98. How do I make a payment dispute on this purchase.?

    There was a mistake with your purchase. Contact with the iTunes Store support to get a refund > http://www.apple.com/support/itunes/contact

  • I have unlocked iphone 5.i tried to use it with tmobile.it shows full network but fails to activate and shows sim invalid.how to make it work?

    i have unlocked iphone 5.i tried to use it with tmobile.it shows full network but fails to activate and shows sim invalid.how to make it work?

    Who was your original carrier; did you call them to ask them to unlock your phone, and are you aware of what their unlock policy is (THey may only unlock for international sims and not US sims

  • How to use time stamps en how to make time stamps in Adobe Reader

    How to use time stamps en how to make time stamps in Adobe Reader

    Did you find a solution? I am having the same problem.
    PDF compatibility level is too high. Supported PDF versions are PDF 1.3 and PDF 1.4 (Acrobat 4, 5 and 6). If you are using Acrobat 7 or higher you will need to save your file at a lower PDF compatibility level.

  • I forgotten my passcode for Guided access. How to disable or by pass this?

    i forgotten my passcode for Guided access. How to disable or by pass this?

    http://support.apple.com/kb/HT4113

  • How to make tablesorter work for GroupedColumns??

    Hi all,
    I imported the class of TableSorter.java to my project. It automatically picks up my normal columns, they all can be sorted.
    but the groupedColumns generated by the drag and drop table node into the design area wont pick up, even i set the property of "onAction" of the column to "Sort"(method) it wont sort the content for me.
    how to make it work?
    thanks

    hi!
    you can get lead selection in the action handler then inset your code for currentContextElement.
    wdContext.currentContextElement().getTableSorter().sort(wdEvent, wdContext.nodeXXX());
    thanks
    vishal

  • HT5559 JAVA WITH CHROME!!! I am trying to login to my bank account at nordea.dk. This website uses somekind of java thing. Chrome cant't load it. Works perfect with Safari. How to make it work in Chrome?

    I am trying to login to my bank account at nordea.dk. This website uses somekind of java thing. Chrome cant't load it. Works perfect with Safari. How to make it work in Chrome?

    Do you speak of true blue Java or Javascript?  If the latter then it is a problem with the Browser.
    But if it is the real Java, do you have the offical version of Java from Oracle installed?
    Getting applications to see official Java is a nightmare.  If you install the Runtime Environment only (JavaRTE) most applications do not see it.
    To force offical Java system wide, I found you have to install the Java Developer Kit (JavaJDK).  It's a larger install as it also comes with documentation and compilers but it make offical Java system wide.

  • Hello! The scrollbars in Windows iTunes are too narrow for touch screen. How to make it wider?

    Hello! The scrollbars in Windows iTunes are too narrow for touch screen. How to make it wider?
    Jan

    Dear Experts,
    I Developed Screen-exit For IW51 t.codeTypically the custom fields are displayed in the notification on a separate tab, or at the bottom of the u201CGeneralu201D or u201CMainu201D tab.  These are configuration decisions that could be made in the build phase.
    Sets of custom fields need to be added based on the notification type.  The following table provides a list and details of the custom fields required.  The table to be extended is the VIQMEL table (to be verified by developer).
    Also to extend header fields on the notification you need to include them in the include CI_QMEL where OPEX M&I has already fields in.
    All fields should go on the notification header.  There are no custom fields on the task or activity level.
    All fields should be reviewed for consistency with the M&I design, specifically, Thomas Brothers, Atlas Sheet, district code. See Dale Alano.
    Please any Body Helped Coding For this, Already i Created Customfields , I design Subscreen also using Enhancement QQMA0001. Using Exit name EXIT_SAPMIWO0_008 USIN SUBSCREEN 0104 PLEASE ANY BODY help me Coding for this IW52
    Regards,
    Santosh Ballyapelli

  • I cannot connect a Sony ILCE6000 camera for wireless downloading. Sony feels I need DLNE? They do not know how to make it work. Can anyone help OS10·9·5

    I cannot connect a Sony ILCE6000 camera for wireless downloading. Sony feels I need DLNE? They do not know how to make it work. Can anyone help OS10·9·5

    I cannot use the software.. so you need to figure out where the problem is..
    But let me suggest.. the Mac is not the issue and likely the info from Sony is also up the creek.. they make PC's after all.
    It is far more likely the camera is having issues with the wireless network.
    Do you know you have a connection to the home network on the camera.. ?? You have an IP address and some internet or local access at least?
    How you will discover those things is by fiddling.. but if you can tell me what wireless AP you are using that will help.

Maybe you are looking for

  • Editable ALV Report

    Hi experts, Is it possible to create ALV report in editable mode. Regards, Rajneesh Gupta

  • Deleted Library

    My computer had to be fixed, and now that it works my iTunes library is gone... the whole thing. There are absolutely no songs in my library. What do I do? Please help a "damsel in distress." Thank you.:)

  • 8i Installation Error - Please Help !!!!

    Hi, I'm trying to install (without much success!) 8i on Solaris 8. Everything is fine until database creation which fails. I can't connect to the database, can't start it, can't stop it. Listener is up, running and working fine. Tnsnames is fine as i

  • Running scenario using a agent

    Hi , I have 2 setups. 1.Developement Master Repository - MASTER Work Repository of type Developement -DEMODEV 2.Production Master Repository - MASTEREXEC Work Repository of type Execution - DEVEXEC1 Now in the Production , i have imported my Master E

  • Autoplaying issue on hidden frames

    Hi All, Another interesting question that I want to rise up here is related to the video/audio autoplaying issue in hidden frames. We're working on desktop application based on JavaScript/HTML/CSS and run within the Adobe AIR environment.One of the m