You can use following function for validation of email using ActionScript 3.0 RegExp class.
/**
* @usage Check if the given email address string is valid or not
* @param email:String Email address string that is to be checked
* @return Boolean Returns true if valid email, false otherwise
*/
public function isValidEmail(email:String):Boolean
{
var emailExpression:RegExp = /^[a-z][\w.-]+@\w[\w.-]+\.[\w.-]*[a-z][a-z]$/i;
return emailExpression.test(email);
}
Hope it would be [...]
Archive for July, 2008
24 Jul
Email Validation in ActionScript 3.0 using RegExp
10 Jul
Flash Player 10 beta 2 Released
Flash Player 10 beta 2 was released on 7/2/2008 and includes new features and bug fixes.
New features on Flash Player 10 – ASTRO beta 2 ::
Rich Media
Enhanced Sound APIs
Other Community Requested Enhancements
Linux WMODE
Video4Linux v2 Support
unloadAndStop
Limited Fullscreen Keyboard Access
More details can be found on adobe labs flash player technology.
You can find the new version of flash [...]
4 Jul
Flash Player 10 – ASTRO Beta 2 released
Flash Player 10 beta 2 was released on 7/2/2008 and includes new features and bug fixes.
You can find the new version here.
Regards,
Naresh Khokhaneshiya
4 Jul
Google and Yahoo! can search Flash SWF content now!
Great news !
Here you can find more details about this ::
Adobe Developer Connection – SWG Searchability FAQ
Official Google Webmaster Central Blog – Improved Flash Indexing
- Naresh Khokhaneshiya
Recent Comments