[Papervision3D] question regarding tweener and papervision

John Lindquist johnlindquist at gmail.com
Mon Jan 7 13:56:32 PST 2008


No, you just need to have a renderer running in an ENTER_FRAME/timer to
render the updates that Tweener processes.

On Jan 7, 2008 2:20 PM, Dwayne Neckles <dwayneneckles at hotmail.com> wrote:

> So is the only way the tweener commands can run is if its in an onterframe
> loop that renders the scene..
>
>
> geez..
> here is the code
>
> addEventListener( Event.ENTER_FRAME, initObjects );
> private function initObjects() {
>             plane = new Plane( material,material.movie.width,
> material.movie.height, 8, 8 );
>             // Include in scene
>             scene.addChild(plane);
>             //plane.rotationY = -90;
>
>             Tweener.addTween( plane , { rotationX:90 , time:2 ,
> transition:"linear", onComplete: function() { trace("done")} );
>
>
>         }
>
> ------------------------------
> Put your friends on the big screen with Windows Vista(R) + Windows Live™. Start
> now!<http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_012008>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>


-- 
~~~~~~~~~~
John Lindquist
http://pv3d.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080107/33186d13/attachment.html 


More information about the Papervision3D mailing list