Thanx for the code Jerome! we definitely like optimisations here.. :)

Rob


On Tue, Nov 17, 2009 at 12:42 AM, elguapoloco <
[email protected]> wrote:

> Hello,
>
> I wanted to share with the group an optimization technique I have been
> using in 3D carousels powered by Away3D.
>
> Since most animations in this type of app are tween based (planes
> rotations and translations) and following some optimization
> presentations at LFPUG, I decided to create my own TweenPool class.
>
> In my 3D components (like a 3D carousel) I create all my tweens using
> an instance of the TweenPool class. This pool holds all the tweens
> that would require Away3D to render the view. Once the
> allTweensCompleted event is dispatched I can safely halt the 3D
> rendering.
>
> I was using mouse events based render pausing and resuming before. But
> I find that using a TweenPool is much more efficient.
>
> The idea of creating a pool rather then use the built in methods of
> the tween engine is to isolate the tweens that affect the 3D view
> versus those that run in 2D.
>
> The classes are up in my google code repository:
> http://code.google.com/p/wemakedotcoms/
>
> Hope this helps,
>
> Cheers,
>
> Jerome.
>



-- 
Rob Bateman
Flash Development & Consultancy

[email protected]
www.infiniteturtles.co.uk
www.away3d.com

Reply via email to