so basically if you set them, no matter how large the mc is, they will
lock on those settings.
you even can set size greater than the source, if you for instance
plan fill the gaps later on. No need to add a rect filled with alpha
to do this.
Also remember the cliprect prop you can set to avoid redraw whole mc
if you know what have changed...
how to use it: (snipet from this little demo)
var sourcemc:MovieClip = new testMC();
var mat1 = new MovieMaterial(sourcemc , {debug:true});
var mat2 = new MovieMaterial(sourcemc, {debug:true, lockW:200,
lockH:200});
var mat3 = new MovieMaterial(sourcemc , {debug:true, lockH:100,
lockW:450});
var p1:Plane = new Plane({width:400, height:300, material:mat1, y:
320} );
var p2:Plane = new Plane({width:400, height:300, material:mat2} );
var p3:Plane = new Plane({width:400, height:300, material:mat3,
y:-320} );
p1.rotationX = p2.rotationX = p3.rotationX = 90;
this.scene.addChild(p1);
this.scene.addChild(p2);
this.scene.addChild(p3);
here this code in action:
http://www.closier.nl/playground/MovieLock.swf
Available in your favourite svn!
Fabrice
Btw, thx for the indepth help on your past mail.
That's what I call a usergroup!!
Fabrice