On Wed, May 21, 2008 at 11:02 PM, Paul Whitelock <[EMAIL PROTECTED]> wrote:

> 2.Wait until the next scheduled frame-render time. While waiting, if
> any events are triggered, execute all registered event listeners.

Yes, so in your "while waiting" time, if you make a network call --
say you download an XML file -- and the call returns (asynchronously)
during that time, then you'll get the event for that before you go to
step 3. i.e. it won't wait for the next frame before you can process
the event.

Try this test:

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
  xmlns="*" mouseMove="trace('mouseMove', getTimer())"
  enterFrame="trace('enterFrame', getTimer())"
  frameRate="1">
</mx:Application>

As you move the mouse, the event is processed. It doesn't wait for the
next frame before you can get the event.

Reply via email to