A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Help with timer?

  1. #1
    Registered User
    Join Date
    Aug 2010
    Posts
    1

    Help with timer?

    Hello, Im trying to make a game where every 60 seconds the level ends and a shop menu comes up. I learned how to make a timer appear on screen, but I couldn't use that variable in my AS2 files to make the shop appear and game pause. How do I refer to the variable(which is a dynamic text box) in the AS2 files?

  2. #2
    Spit
    Join Date
    Oct 2008
    Location
    Philly, PA
    Posts
    51
    Does the timer count down or does it just visually appear there with a starting time?

    If you got it counting down, whatever it is called, let's say "myCounter", then you either refer to it as "myCounter" if it in the Var section of the properties tab, or "myCounter.text" if it's in the Instance Name section.
    Last edited by SpitSpitSpitty; 08-21-2010 at 09:21 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center