FORUMS: list search recent posts

(AS2) input text challenge.

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
David Burns
(AS2) input text challenge.
on Apr 7, 2009 at 1:20:59 am


I have a Flash built website that I want one page to require a password to see. I've created an input text field and have given it a var name: pass_word. On the enter button I've entered the following action script:

on(release, keyPress""){
if(pass_word eq "HappyHarris"){
Access_Denied="Access Denied";

I added the trace to see what was getting recorded when the user enters the password because even if the user enters the correct word he gets the access denied message. It seems that a bunch of html is getting recorded in addition to the word. It shows the paragraph and text style tags all around the word. Is this what is causing the access denied message? And if so, how do I fix it? I've made sure that the "render text as html" button is not selected in the input text field.

Any help would be most appreciated. Unfortunately, I've only taken a class in Flash 8 so I only have limited experience with AS2.



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved