A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Using computers clock to call functions

  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    57

    Using computers clock to call functions

    I need to use the computer clock to load a function in a given time in milliseconds after the application has started. How do I do that?

  2. #2
    Junior Member
    Join Date
    Sep 2007
    Posts
    15
    Use can use setTimeout() function or Timer class.

  3. #3
    Member
    Join Date
    Jun 2003
    Posts
    57
    Those are heavily affected by memory usage and I am loading videos.

    I figured out a way using date() but it is still affected by memory when the memory load is too heavy.

  4. #4
    5+5=55 Schfifty Five's Avatar
    Join Date
    Jun 2006
    Posts
    698
    Well getTimer() tells you how many milleseconds since the application started.

  5. #5
    Member
    Join Date
    Jun 2003
    Posts
    57
    I ended up just using cue points.

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