Trying to draw a simple rectangle dynamically and progressively using the drawing API.
I found senoculars awesome function, but it only works on objects of equal sides.
http://www.senocular.com/flash/source.php?id=0.127
Can I modify this to make it work?
// square
createEmptyMovieClip('square',20);
square.time = 0;
square.speed = .01;
square.style = [1, 0xFFFFFF, 20];
square.anchors = [
[1,1],
[1,299],
[299,299],
[299,1]
];
square.onEnterFrame = drawShape;
http://www.senocular.com/flash/files/progressivelydrawclosedshape.fla
Making those values Rectangular breaks the shape.
TIA!!!