dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Can anyone help me get this code to work?

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Posts
    1

    Can anyone help me get this code to work?

    I'm trying to do a simple password access for a site I'm building...this is the code I use to make it happen in flash using an input text box (variable "pass") and a button:

    on (release) {
    if ( pass eq "results" ) {
    gotoAndPlay("scene 2", 1);
    } else {
    gotoAndPlay("current", 19);
    }
    }

    Again I can get it to work in Flash but not in 3dfa...any suggestions...

    Thanks a lot

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    change eq to == and be sure you have a scene named current

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