PDA

View Full Version : Problem with Filters and Tween Rollovers


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

madgett
10-14-2005, 07:29 PM
I don't have this issue even with your code, is your frame rate too low? I usually use 31fps always. Try that.

Headshotz
10-16-2005, 02:58 AM
Fine here too.