Thanks for this ...
I'm trying this with ActionScript 2, so I changed it to:
//////////////////////
// http://forums.greens...-for-beginners/
import com.greensock.*;
//import com.greensock.core.*;
import com.greensock.easing.*;
//Use your line tool to draw a box on the stage.
//Use F8, "Convert to MovieClip" to create 4 mc instances. Name them-top, right, bottom, left .
// My _instances_ are:
// top
// right
// bottom
// left
var as_val:Number = 1.5;//as_val is abbreviation for adjust speed value.
trace(as_val);
//I'm using as_val to adjust the delay also-this allows them to draw one after the next, not all at once.
//Below, we'll preset the _xscale and _yscale to zero
// initiate _xscale property to zero on top and bottom of your box
top._xscale = bottom._xscale = 0;
trace(top._xscale);
// initiate _yscale property to zero on top and bottom of your box
right._yscale =left._yscale = 0;
trace(right._yscale);
TweenLite.to(top, as_val, {delay: 1*as_val, _xscale:1});
trace(1*as_val);
TweenLite.to(right, as_val, {delay: 2*as_val, _yscale:1});
trace(2*as_val);
TweenLite.to(bottom, as_val, {delay: 3*as_val, _xscale:1});
trace(3*as_val);
TweenLite.to(left, as_val, {delay: 4*as_val, _yscale:1});
trace(4*as_val);
/////////////////////
But it doesn't do anything. the lines don't ever "draw". All the variables trace out as expected.