[LEFT]Please help me understand guys…
I cant seem to understand the drawBox methods…
I have a button, and onPress the button trigger a shape which appears. How can i apply the tween values to a shape, made with the drawing API?
this.createEmptyMovieClip("squareClip",this.getNextHighestDepth());
with(squareClip){
lineStyle()
moveTo(x,y)
lineTo(x,y)
lineTo (x,y)
lineTo(x,y)l
ineTo(x,y)
}
With some correct data in the above code, how can i apply first a event function, so that the hole thing starts, after i pressed the button.
And the second: After click, i dont want the shape just to appear instantly, how can i apply a tween value to it?
So it bounces or scales from small to big…
var shapeTween:Tween = new Tween(null, "", Bounce.easeOut, 100, 0, 2, true);
Please advice…
Regards Hrbi
[/LEFT]