![]() ![]() ![]() |
|
![]() |
|
![]() |
|
![]() |
Flash Player 6.
my_mc.rewTween(props)
props
One or more properties to be specifically affected. If the param is not passed, all properties being tweened are affected.
Accepts the following formats:
"_x"
"_x, _y"
["_x", "_y"]
To affect colorTransform (methods colorTo, brightnessTo, colorTransformTo, invertColorTo, tintTo) use "_ct_" as props parameter.
Nothing.
method, jumps props to the beginning of a (currently-playing) tween in any MovieClip or TextField and restarts the tween. If props is not passed, rewinds all tweens in movieclip or textfield.
tween(s) are unpaused automatically if they were paused.
example:
my_mc.tween(["_x","_width"],[200,0],10); my_mc.onPress = function() { this.rewTween(); // rewinds all movements //this.rewTween("_x"); // jumps _x back to start position & replays it }
![]() |
|
![]() |
|
![]() |
|
![]() ![]() ![]() |