-- When using a masked movieclip that animates as a MovieMaterial, I
am running into trouble smoothly resizing a Plane shape and the
texture. Using lockW and lockH worked perfectly to keep the texture
scaled correctly. On user interaction, I was looking for the movieclip
to play (which enlarges a mask) while simultaneously scaling the
Plane, for example:
function onMouseDownHandler(e:MouseEvent3D):void {
// both the Plane and the viewable masked area of the MovieMaterial
start at 600x300
var planeObj = e.object;
TweenMax.to(planeObj.material, 1, {lockW:900,lockH:
450,frameLabel:"end"});
TweenMax.to(planeObj, 1, {width:900,height:450});
}
Trying to tween lockH and lockW makes the object disappear until the
tween is over. No matter how I modified the source code I couldn't get
it to animate. Am I going about this approach all wrong, or are these
2 parameters just not meant to tween because they each are updating
the _bitmap and _renderBitmap?
-- Another effect I was toying with was the SphericalLens (awesome
addition btw). It didn't seem like the lense functions could take any
arguments, but I was wondering how to modify parameters of the lense
to change the effect. I was trying to have it pinch in instead of
bloat out. I tried modifying the lense code but I just couldn't get it
right.
If anyone has some suggestions I'd appreciate it.