A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Login script

  1. #1
    Member
    Join Date
    Dec 2008
    Posts
    31

    Login script

    I'm attempting to make a log in type thing for something I'm working on, but It wont work correctly.

    I've tried several different scripts, and none work properly.

    Code:
    on (release) {
     if (pass == "hey" && user == "wj") {
     gotoAndStop("explorer");
     } else {
     gotoAndPlay("begin");
     }
    }
    I have the correct variables, but no matter what I input, it thinks I'm putting in the wrong info and takes me back to the beginning, any ideas?

  2. #2
    Working On An Online RPG grimm 88's Avatar
    Join Date
    Sep 2007
    Location
    Nowhere
    Posts
    280
    works fine for me when just testing it... but perhaps it isn't refrencing the variables properly... try the absolute path with a '_root.' on the front, and other than that all i can think of is to give your frames the right labels

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