Wow my AS is rusty…
basically I have an MC menu that I want to move to the left when you click and hold on another MC called leftButton, here’s what I have.
In main timeline:
menu.moveLeft = function() {
this._x -= 4;
}
triggerMotion = function() {
this.onEnterFrame = this.moveLeft;
}
Then in the leftButton MC:
onClipEvent (mouseDown) {
triggerMotion;
}
This obviously doesnt work, but I know its close, could someone help slap me back into writing AS :trout:
Thanks