I’m using this code to move things around on the stage
onClipEvent (load) {
easeMove = function (xpos, ypos) {
_x += (xpos-_x)/7;
_y += (ypos-_y)/7;
};
So I thought if I modified my code to work with an alpha that would be cool.
onClipEvent (load) {
easeFade = function (fadeUp, fadeDown) {
_alpha += (fadeUp-_alpha)/7;
_alpha += (fadeDown-_alpha)/7;
};
button triggers
services.onEnterFrame = function() {
this.easeMove(62, 10);
this.easeFade(50,0)
};
What is it I’m missing?