Hi! I am new to Flash and I am having trouble getting a dyamic text box to be controlled by a checkbox.
Here is the Actionscript that does not work:
on(click){
if(this.selecte d)==true){
this.selected = true;
dynamictextboxn ame_txt.text = "text here";
}else{
this.selected = false;
dynamictextboxn ame_txt.text = "the other text";
};
I have another problem that I might as well post while I am here. I would like to have users check the box, and not be able to see what is in the dyanamic text box until they click a button called "submit". Any ideas for the script for this?
Thank you very much for your help,
Vicky
Here is the Actionscript that does not work:
on(click){
if(this.selecte d)==true){
this.selected = true;
dynamictextboxn ame_txt.text = "text here";
}else{
this.selected = false;
dynamictextboxn ame_txt.text = "the other text";
};
I have another problem that I might as well post while I am here. I would like to have users check the box, and not be able to see what is in the dyanamic text box until they click a button called "submit". Any ideas for the script for this?
Thank you very much for your help,
Vicky
Comment