Elastic question

I’m at work right now so i can’t test this out but will this work for an elastic effect? I’m just toying with some ideas.

import mx.transitions.Tween;
import mx.transitions.easing.*;
var blahx:Number = 300
var blahy:Number = 300
new Tween(blah, "_x", Elastic.easeOut, 0, blahx, 2, true);
new Tween(blah, "_y", Elastic.easeOut, 0, blahy, 2, true);
this.onPress = function(){
     this.startdrag();
}
this.onRelease = function(){
     this.stopdrag();
     var blahfromx:Number = this._x;  
     var blahfromy:Number = this._y; 
     var blahxtween:Object = new Tween(blah, "_x", Elastic.easeOut, blahfromx, blahx, 2, true);
     var blahytween:Object = new Tween(blah, "_y", Elastic.easeOut, blahfromy, blahy, 2, true);
}