Hi;
Possible? How? Here's the mask I'd like to reuse. I can obviously pull it out
and put it in the general function for the class so it is available for all
other functions, but that ain't good enough:
var square:Sprite = new Sprite();
addChild(square);
square.graphics.lineStyle(3,0xee1d25);
square.graphics.beginFill(0xffffff);
square.graphics.moveTo(0,0);
square.graphics.lineStyle(3, 0xFF0000);
square.graphics.beginFill(0xffffff);
square.graphics.lineTo(957,0);
square.graphics.lineTo(957,502);
square.graphics.lineTo(0,502);
square.graphics.endFill();
square.x = 30;
square.y = 20;
container_left.mask = square;
TIA,
John
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders