Hello,
Maybe someone can tell me why this simple set-up is not working ?
When I only put coding on 1 Button it works fine,
but when I extend to 2 buttons, strange things start to happen:
- mouse-over gives no hand-pointer-cursor
- and coding simply does not work.
Am I approaching the whole thing wrong, or did I miss some vital info ?
Thanks in advance
Note:
Flash CS4
AS2
stop();
import com.greensock.*;
import com.greensock.easing.*;
import com.greensock.plugins.*;
OverwriteManager.init(2)
// TweenLite
mcBut1.onMouseDown = function() {
TweenLite.to(object1,1.5,{_x:100, _y:210, _alpha:100});
}
mcBut2.onMouseDown = function() {
TweenLite.to(object1,1.5,{_x:300, _y:210, _alpha:100});
}