Billybonga
IS-IT--Management
I'm trying to create a value screen (basically where the user must agree to the terms and conditions)
I have printed by t&c's and have a "I Agree" check box at the bottom called chk_dsk.
On the same page i have a "Next" button with the following code:
I want to have the "Next" button check to see if the chk_bsk is set to true - if so it should go to the next page, if not it should quit (or go to previous screen)
I would would really like to do, would be to have the "Next" button appear when the check box is ticked, other remain in-active. I tried this at first by setting alpha to 0 etc but the button is still active in the hidden area .. any help would be great
I have printed by t&c's and have a "I Agree" check box at the bottom called chk_dsk.
On the same page i have a "Next" button with the following code:
Code:
on (press) {FCheckBox.getValue()
trace(chk_box.getValue());
my_var1 = chk_box.getValue();
if (my_var1 ="false") {nextFrame();
}
if (my_var1 ="true") {prevFrame();
}
}
I want to have the "Next" button check to see if the chk_bsk is set to true - if so it should go to the next page, if not it should quit (or go to previous screen)
I would would really like to do, would be to have the "Next" button appear when the check box is ticked, other remain in-active. I tried this at first by setting alpha to 0 etc but the button is still active in the hidden area .. any help would be great