Not sure what plane material dirty = true actual does, never used it.. Ensure owncanvas = true also.
On 31 January 2011 14:04, August Björnberg <[email protected]>wrote: > Yeah, i haven't missed that ;) > I think you even get errors compiling if you don't. > So it's something else. > > On Jan 31, 2:46 pm, Darcey Lloyd <[email protected]> wrote: > > Remember to activate which plugin your using: > > > > TweenPlugin.activate([ColorTransformPlugin]); > > > > On 31 January 2011 13:38, August Björnberg <[email protected] > >wrote: > > > > > Weird, I can't make it work, aka nothing happens. > > > Been using greensock since forever, so it's not that. > > > Can it be that I'm setting plane.material.dirty = true at enter frame? > > > > > TweenLite.to(this.plane, 2 ,{colorTransform:{tint:0xff0000, tintAmount: > > > 0.5}}); > > > > > On Jan 31, 1:13 pm, Darcey Lloyd <[email protected]> wrote: > > > > *1. You can use Tweenmax and Tweenlite* > > > > > > *TweenLite:* > > >http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.. > .. > > > > > > *TweenMax:* > > > > TweenMax.to(target,nTween1Speed,{ > > > > colorMatrixFilter:{colorize:nColor1, amount:nColor1Amount} > > > > > > }); > > > > > > *2. You can Tween planes directly eg* > > > > TweenMax.to(myPlane,nTweenSpeed,{ > > > > colorMatrixFilter:{colorize:nColor1, amount:nColor1Amount} > > > > > > }); > > > > > > eg:http://www.allforthecode.co.uk/splash/choice/ > > > > > > *3. If you want to do funky things with the bitmapdata you apply to > your > > > 3D > > > > object, then simply update the bitmapdata it will update > automatically. > > > eg:* > http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.. > > > .. > > > > > > *4. The basics and example of using TweenLite & TweenMax with API > from > > > their > > > > site:* > > >http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.. > .. > > > > > > D > > > > > > On 31 January 2011 08:03, August Björnberg < > [email protected] > > > >wrote: > > > > > > > Halo' > > > > > Is it possible to tween a bitmap material (colortransform)? whats > the > > > > > most lightwheight way? > > > > > Would i have to tween the bitmapdata then assign the new bitmapdata > to > > > > > my material on update? >
