A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Event that updats all the time?

  1. #1
    MindGem Graphics Inc. JediMind's Avatar
    Join Date
    Nov 2001
    Location
    Stockholm/Sweden
    Posts
    407

    Event that updats all the time?

    Hey,

    Complete newbie question.

    I'm looking for an Event or something that will update all the time.
    If I do a stage.addEventListener(Event.ENTER_FRAME, Blah);
    I'll will just get that one call to the function,


    So how do I get something to call the function all the time so I can make constant changes?

  2. #2
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    look up Timer() in the AS3.0 livedocs
    ~calmchess~

  3. #3
    Ө_ө sleepy mod
    Join Date
    Mar 2003
    Location
    Oregon, USA
    Posts
    2,441
    You can't get finer timing than the frame tick. You could add a timer at 10x the fps but you'd just be getting 10 events that stack up and get triggered at the start of each frame.

    What are you doing that needs that kind of control? There may be another way to set up.
    Please use [php] or [code] tags, and mark your threads resolved 8)

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