Hi, I have a vertical tween using the tween class that I want enacted when a user rolls over a button. I attached the code below, because I am stuck.
Thanks in advance
Code:function toggleMenuTween (obj) { var toggleTween:Tween = new Tween(obj, _y, Regular.easeIn, 337, 357, 2, true); } togglemenu.onRollOver = function() { this._alpha = 100; trace(this._name); toggleMenuTween(this); } togglemenu.onRollOut = function() { this._alpha = 0; }