1 Reply Latest reply on Apr 24, 2006 7:59 AM by Newsgroup_User

    Small ActionScript 2.0 Email Validation Class

    FlashMX.US
      Hi All,
      i am not sure if there is a similar thread posted already (i couldn't find one).
      This is a new class i just put together for a commercial project and i figured it would be useful for anyone who needs simple email address validation. Its very small (2kb) and appears to be working pretty good. the useage looks like this:
      //
      import classes.EmailValidator;
      var _validator = new EmailValidator();
      trace(_validator.validate("SomeEmail@SomeDomain.com")); // returns boolean true
      //
      you will find a sample usage fla in the zip.
      Download Here
      (http://classes.flashmx.us/classes_email_validator.zip)
      //
      let me know if you find any bugs
      //
      Nick