Hi, i'm making a full-flash-website and to go to another "page" it fades out, and in again on that page, to make the fade look "good" i want to cause a button to give a variable to "A" , and start a movieclip, which checks the variable when it's faded out, and fades in on the right page, but i for some reason, i can't give the right variable to "a"
so i want to know if anyone can see what's wrong,
the button actionscript
on (press) {a = 1;}
on (release) { index_mc.play();}
the "reader" actionscript (it checks also for other numbers, which belong to other buttons)
stop();
if (a == 1) { gotoAndPlay(60);
} else if (a == 2) { gotoAndPlay (23);
} else if (a == 3) { gotoAndPlay (38);
} else if (a == 4) { gotoAndPlay (8) ;
}
thanks for your help