A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Help!

  1. #1
    Junior Member
    Join Date
    Dec 2000
    Posts
    6
    I am in desperate need of a countdown timer for a flash concentration game. A timeline based timer is no good and neither is flash five actionscript, it has to be flash four. Any help would be hugely appreciated! Thanks.

  2. #2
    Senior Member Mad-Sci's Avatar
    Join Date
    Mar 2000
    Posts
    2,756
    The easy way:

    if your main MC runs at 15 frames per sec. (fpc):

    create a MC with a 16 frames:
    Frame1:
    time=0;

    frame16
    time=time+1; ( when time=1 means 15s passed,Time=2 eq 30s )
    if (time = 1,2 whatever )
    put the actions here.
    goto and stop 1.reset counter.
    else
    goto and play frame 2.

    when you restart the time play the movie from frame 1.

    Mad_Sci

  3. #3
    Junior Member
    Join Date
    Dec 2000
    Posts
    6

    thanks

    Thanks for that, works better than how I was doing it. Unfortunately I think it's more of a processor thing than a bandwidth thing so there's not much to be done about it...

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