erixdesign
10-14-2005, 07:00 PM
Hello,
I created some buttons that I want to scale via transistions.tween when rolled over.
They work fine until I apply a filter to them, at which point they skip and jitter.
Anyone have a solution?
For reference, here's the button code:
function rollpop(icons) {
icons.onRollOver = function() {
new mx.transitions.Tween(icons, "_width", mx.transitions.easing.Back.easeInOut, this._width, 100, 5, false);
new mx.transitions.Tween(icons, "_height", mx.transitions.easing.Back.easeInOut, this._height, 100, 5, false);
};
icons.onRollOut = function() {
new mx.transitions.Tween(icons, "_width", mx.transitions.easing.Back.easeIn, this._width, 75, 5, false);
new mx.transitions.Tween(icons, "_height", mx.transitions.easing.Back.easeIn, this._height, 75, 5, false);
};
}
rollpop(my_btn)
rollpop(my_btn2)
Thanks for any help on this.
-E
I created some buttons that I want to scale via transistions.tween when rolled over.
They work fine until I apply a filter to them, at which point they skip and jitter.
Anyone have a solution?
For reference, here's the button code:
function rollpop(icons) {
icons.onRollOver = function() {
new mx.transitions.Tween(icons, "_width", mx.transitions.easing.Back.easeInOut, this._width, 100, 5, false);
new mx.transitions.Tween(icons, "_height", mx.transitions.easing.Back.easeInOut, this._height, 100, 5, false);
};
icons.onRollOut = function() {
new mx.transitions.Tween(icons, "_width", mx.transitions.easing.Back.easeIn, this._width, 75, 5, false);
new mx.transitions.Tween(icons, "_height", mx.transitions.easing.Back.easeIn, this._height, 75, 5, false);
};
}
rollpop(my_btn)
rollpop(my_btn2)
Thanks for any help on this.
-E