A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Only a clock! :D

  1. #1
    Junior Member
    Join Date
    Dec 2000
    Posts
    27
    How can i do a regressive clock?
    Like to be in 3:00 (minutes) to go to 0:00, and when it is on 0:00 happen some action....
    how could i do that?





    thanks a lot!!

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Posts
    2,235
    Set variable: "/:time" = (GetTimer/1000) - 180

    ~ mgb

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

    Smile

    but it isnt a regressive, it is?

    sorry but i'm not a guru, so how can i show this clock in the movie? and how could happen an action after an determineted moment of time?



    thanks!

  4. #4
    Senior Member
    Join Date
    Aug 2000
    Posts
    2,235
    Whaaaaa!!! That should be;

    Set variable: "/:time" = 180 - (GetTimer /1000)

    Sorry.

    Put this code in a mc in frame 1. and Go to and Play (1) in frame 2.

    To make something happen put add to frame 1.

    If (/:time < = 10)

    Begin Tell target ("/mcname")
    Play
    End Tell target.

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