Welcome, Guest
  • Author Topic: HELP (Password ActionScript)  (Read 1337 times)

    Billy Baker

    • Server what's that
    • *
    • Posts: 23
      • View Profile
      • Email
    HELP (Password ActionScript)
    « on: 04/14/03, 21:18 »
     Hello,

    I've been trying to make a password script on my forum, but still no luck. Can anyone help?
    Here is the code I have for the post new topic button:

    on (release) {
      if (password eq "password1") {
         SubmitTopic.gotoAndStop(2);
      } else {
         ForumMovieClip.gotoAndStop(3);
         on (release) {
      if (Category ne "") {
         SubmitTopic.gotoAndStop (2);
         SubmitTopic.Submit = "SubmitNew";
         Submittopic.Status = "Post a new topic to the "+ CategoryName +" Category";
      } else {
         Status = "Please Choose a Category";
      }
    }

      }
    }

    Do you see a problem with the code?

    Thanks,

    Billy

    Musicman

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 2685
      • View Profile
      • Email
    Re:HELP (Password ActionScript)
    « Reply #1 on: 04/15/03, 00:41 »
    Quote
    Do you see a problem with the code?


    Hi,

    anybody could open the swf from the temporary browser files with notepad and find out the password...

    Musicman

    Billy Baker

    • Server what's that
    • *
    • Posts: 23
      • View Profile
      • Email
    Re:HELP (Password ActionScript)
    « Reply #2 on: 04/15/03, 08:06 »
    Hello,

    Not if it's in the FLA when I export it.

    Cheers,

    Billy

    Musicman

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 2685
      • View Profile
      • Email
    Re:HELP (Password ActionScript)
    « Reply #3 on: 04/15/03, 10:59 »
    ... not if you just kee the fla and never publish the swf :)

    Just try it: open the swf in notepad ... within a sea of gibberish you will find some islands of readable text. One of them will likely have the variable name "password" and its expected value close together

    Musicman

    Billy Baker

    • Server what's that
    • *
    • Posts: 23
      • View Profile
      • Email
    Re:HELP (Password ActionScript)
    « Reply #4 on: 04/15/03, 18:02 »
    Hello,

    Well if you have a better password script than give it to me otherwise that's the best I could find.
    I got the post new topic to work. The new problem is when I click submit new topic it says please select a category when I already selected a category. That do you think?

    Cheers,

    Billy
    « Last Edit: 04/15/03, 18:03 by Billy Baker »