A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Help Plz : Input text =null stop

  1. #1
    Member
    Join Date
    Mar 2002
    Posts
    58

    Help Plz : Input text =null stop

    on (release) {
    if (answer.text() == null && pass.text == null) {
    stop();
    } else if (answer.text.toLowerCase() == "hussain" && pass.text.toLowerCase() == "100") {
    gotoAndStop("yes");
    } else {
    gotoAndStop("no");
    }
    }


    i have two input text 1-answer 2-pass and one button if text box null ==stop but it's not stop

  2. #2
    Senior Member
    Join Date
    Oct 2004
    Posts
    2,049
    try this out

    PHP Code:
    on (release) {
    if (
    answer.length == && pass.length == 0) {
       
    stop();
    }

    if (
    answer.text.toLowerCase() == "hussain" && pass.text.toLowerCase  == "100") {
         
    gotoAndStop("yes");
    } else {
         
    gotoAndStop("no");


  3. #3
    Member
    Join Date
    Mar 2002
    Posts
    58

    thanks

    thanks


    but still stop(); works and go to "no"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center