This content has been marked as final.
Show 5 replies
-
1. Re: make the button is Active...
michaeltowse Oct 24, 2007 5:15 AM (in response to AScracker)1 button and five text entry components on stage. -
2. Re: make the button is Active...
AScracker Oct 24, 2007 5:32 AM (in response to michaeltowse)Hi,
Thanks for your reply it's working fine....
After enter the value only it's activated it's fine... but after typing the text if we remove the text in any text box by pressing the backspace or delete button then... text box become empty...at that time
button become is visible...
~~SK
-
3. Re: make the button is Active...
absurd29 Oct 24, 2007 6:10 AM (in response to AScracker)Presumably you only want the button to be enabled when all text boxes are filled in so that it only then performs an action - otherwise no action?
You could try a different approach such as this:
submitBtn.onRelease = function() {
if (text1.text != "" && text2.text != "") {
//actions to go here, eg
feedback.text = "Thanks for completing the form";
} else {
//no actions if text boxes are not completed
feedback.text = "Please make sure both boxes contain text";
}
}; -
4. Re: make the button is Active...
michaeltowse Oct 24, 2007 6:42 AM (in response to absurd29)try this one instead -
5. Re: make the button is Active...
AScracker Oct 24, 2007 7:03 AM (in response to michaeltowse)Thanks michaeltowse ................
It is Working Fine.......

