This content has been marked as final. Show 5 replies
use the scale9grid property of movieclips.
Thanks for pointing me in the right direction.
I tried using the scale9Grid property but I can't get it to work. The code below comes back with an error message.
this.mcBGTL is a movie clip.
var rect:Rectangle = new Rectangle(this.mcBGTL.x, this.mcBGTL.y, this.mcBGTL.width-1, this.mcBGTL.height-15);
this.mcBGTL.scale9Grid = rect;
is this as2 or as3?
It's AS3 but I figured a solution would be similar in both as2 and as3.
if it's as3, your question should be in the as3 forum.
and your parameters are wrong. the topleft grid must be at least 1 pixel in width and height and the bottomrigth grid must be more than 1 pixel in width and height.