tomyknoker
05-17-2007, 06:02 AM
Hi all...
I have the following:
main_left.dragbar_mc.onPress = function ()
this._parent.startDrag(false);
};
main_left.dragbar_mc.onRelease = dragbar_mc.onReleaseOutside = function () {
this._parent.stopDrag();
};
Very simple, was wondering how when I drag it I can give it a bit of a tweening affect, so when you let go it still moves and slow down to a stop... Also I want to have a reset button, that when clicked brings the MC back to the original position the MC was in during the inital first play... Can this be done?
I have the following:
main_left.dragbar_mc.onPress = function ()
this._parent.startDrag(false);
};
main_left.dragbar_mc.onRelease = dragbar_mc.onReleaseOutside = function () {
this._parent.stopDrag();
};
Very simple, was wondering how when I drag it I can give it a bit of a tweening affect, so when you let go it still moves and slow down to a stop... Also I want to have a reset button, that when clicked brings the MC back to the original position the MC was in during the inital first play... Can this be done?