Need help wif random page. urgent =(

hi all,

really need your guys on this. i have tried many times but i dunno why it doesnt seems to work.

ok i have this .asp page tht has a random image from 1-9 and a flash with 1-9 pages too. wat i wanna do is… let’s say on the asp page, the random image is image number 5, when i click on it, it goes to flash page number 5.

but unfortunately, it doesn’t work.

and here’s the flash code:


loadVariablesNum("storedata.asp", 0, "GET");
if (question_show==1){
    _root.pageone.gotoAndPlay("question1");
}else
if (question_show==2){
    _root.pageone.gotoAndPlay("question2");
}else
if (question_show==3){
    _root.pageone.gotoAndPlay("question3");
}else
if (question_show==4){
    _root.pagetwo.gotoAndPlay("question4");
}else
if (question_show==5){
    _root.pagetwo.gotoAndPlay("question5");
}else
if (question_show==6){
    _root.pagetwo.gotoAndPlay("question6");
}else
if (question_show==7){
    _root.pagethree.gotoAndPlay("question7");
}else
if (question_show==8){
    _root.pagethree.gotoAndPlay("question8");
}else
if (question_show==9){
    _root.pagethree.gotoAndPlay("question9");
}
stop();

i have also tried inserting “question_show=6;” just to see whether it works or not. yes, it does work.

hope to hear from u guys soon. thanx!