>the problem lies with how Adobe implemented it.  They basically left method 
>prototypes in the AS and execute all of it in the player.  

Mark,

That is generally how these specs are implemented. Event dispatching is a 
feature of the virtual machine that is Flash Player, it's not a framework level 
concept. The same is true in browsers, etc. Any feature of the virtual machine 
is implemented in native code with only an ActionScript definition to link 
against.

The native code in the player executes the event logic much, much faster than 
the ActionScript equivalent. It's been a long time, but somewhere around early 
Player 9 we did a simple test to see what this movement to native code actually 
bought us and I believe the results were a staggering 25-30 times faster than 
could be implemented in AS.

Considering the gobs of events Flex dispatches, that change is _part_ of what 
made Flex 2 viable from a performance standpoint over the Flex 1.x versions.

Mike

Reply via email to