
Flash Player 7 + TheSpringBox V1
Widget.bounce(toggle:Boolean[, width:Number, height:Number,topOffset:Number, leftOffset:Number]) : Void;
toggle - Turn bounce On/Off.
width - The width of the area that will bounce. This parameter is optional.
height - The height of the area that will bounce. This parameter is optional.
topOffset - Number of pixels between the top bounce edge and the wrapper top edge. This parameter is optional.
leftOffset - Number of pixels between the left bounce edge and the wrapper left edge. This parameter is optional.
Nothing.
Method; Bounces the widget from the edges of the screen.
This example will bounce the widget using an imaginary 200x200 square at the coordinate 50,50 as bouncing edges.
myButton.onRelease = function() {
Widget.bounce(true,200,200,50,50);
};