Bounce.easeOut

Has anyone worked before with Bounce.easeOut? I am trying to create a simulation of a rock skipping across water. It will be dynamically created as the user will input the strength, height, friction, etc. into the simulation so that the rock will skip respectively with the input. The physics part I have no problem working out, and I am fairly decent with AS 2.0, however I have never used Bounce.easeOut before. Here is the code I have now:


import mx.transitions.Tween;
import mx.transitions.easing.*;
skipTime = 0;
skipStrength = 0;
this.throw_btn.onRelease = function()
{
 _root.skipStrength = (_root.skipStrength_txt.text / 100) * 700;
 _root.skipTime = (1 / _root.skipStrength_txt.text) * 100;
 new Tween(_root.ball_mc, "_y", Bounce.easeOut, _root.ball_mc._y,500, _root.skipTime, true);
 new Tween(_root.ball_mc, "_x", None.easeNone, _root.ball_mc._x, _root.skipStrength, _root.skipTime, true);
}

Obviously I haven’t accounted for all physics properties yet. This was more of a test.

Currently I am entering a value from 1 - 100 to have the magnitude of how far the rock skips(bounces) across the stage. Currently it’s physically innaccurate so obviously the lesser the strength the time is exaggerated, but I don’t really care about that right now. What I want to know is if there is some way to control the number of bounces. No matter what value I put in, whether it be 10, 50 or 100 it always bounces 3 times then comes to a rest at the appropriate location on the stage.

How do I change it so that there are more/less bounces? Is Bounce.easeOut even the correct transition I should be using? I’m not entirely sure about that.

Any ideas?