[Papervision3D] Single vs. multiple onEnterFrame

John Grden neoriley at gmail.com
Sun Apr 1 22:45:15 EDT 2007


when the playhead changes frames, all registered onEnterEvent listeners are
fired.  I think the reasoning for individual EnterFrames would be based on
scope and control of the object itself, but if it's something that has to
happen at the same time and scope isn't an issue etc, might as well put it
in one method.

my 2cents based on what I think you were asking ;)  (that's my disclaimer)

On 4/1/07, Anthony Tambrin <copet80.mailinglist at gmail.com> wrote:
>
> Hi all,
>
> This is more of a general flash question. But I reckon it's the heart and
> soul of pv3d applications :)
>
> Question is:
>
> Which one is more efficient?
> A. All processing is centralized in the main Sprite ENTER_FRAME event
> handler, i.e. run()
> B. Objects have their own ENTER_FRAME event handler
>
> Which one will run more efficiently, and thus, faster?
>
> Cheers,
> Anthony
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>


-- 
[  JPG  ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070401/472cf604/attachment.htm


More information about the Papervision3D mailing list