this.button1.onRollOver = function() {
button1.gotoAndPlay("_over");
}
this.button1.onRollOut = function() {
button1.gotoAndPlay("_out");
}
this.button1.onRelease = function() {
button1.gotoAndPlay("bam");
}
i'm using this actionscripting to control my button. ( made with a MC ) button1 being the instance name in the example, and "_over" & "_out" being the effect. "bam" is the frame label. I can't get the onRelease to call that label and load the content within it's parameters, that's one problem, another being that I'm seeing it only works if I place it after a certain frame. Why is this? Also, my other buttons won't do any sort of animation, I used the exact same method as my first button which animates fine. This is giving me a headache any input is appreciated. :2gunsfiring_v1:
button1.gotoAndPlay("_over");
}
this.button1.onRollOut = function() {
button1.gotoAndPlay("_out");
}
this.button1.onRelease = function() {
button1.gotoAndPlay("bam");
}
i'm using this actionscripting to control my button. ( made with a MC ) button1 being the instance name in the example, and "_over" & "_out" being the effect. "bam" is the frame label. I can't get the onRelease to call that label and load the content within it's parameters, that's one problem, another being that I'm seeing it only works if I place it after a certain frame. Why is this? Also, my other buttons won't do any sort of animation, I used the exact same method as my first button which animates fine. This is giving me a headache any input is appreciated. :2gunsfiring_v1: