Ive got my menu of animated buttons but if you roll over them all in a row (this might take a couple of times) they stick on the first animated state. Could someone have a look for me and see what I need to do.
Originally posted by n_s_brown Hi could you please help me on my buttons.
Ive got my menu of animated buttons but if you roll over them all in a row (this might take a couple of times) they stick on the first animated state. Could someone have a look for me and see what I need to do.
Thanks
your main problem is that all your buttons except the first one Bio are inside another MC which has a never ending frame loop you need to fix that first other than that here are a few pointers to clean it up:
get rid of all the buttons and their actions(like on release) in each of the buttons get rid of all frame actions too.
now on root give each of the MC's an instance name like m1,m2,m3,m4
then in the frame write the following function:
code:
function onover(num){
_root[num].gotoAndPlay(2);
}
function onout(num){
_root[num].gotoAndPlay(15);
}
m1.onRollOver = function(){
onover(this._name);
}
then in each of your buttons totally delete the first layer which has your current invisible button, now you will need to make sure you have stop(); on frames 1, 14
and on frame 24 or so you will need to put in this.gotoAndStop(1);
this should make it a lot easier to work with since all your code will be in one place.