Skip to content

RBLAB

Blog of Riccardo Bartoli about Javascript…(it was all about Flash and Actionscript)

View Riccardo Bartoli's LinkedIn profileView Riccardo Bartoli's profile

Recent Posts

  • My GIT workflow
  • [WordPress Snippet] Get first image from content
  • Connect to Cisco VPN from Mac OS X Lion (10.7)
  • Install Subversion on Mac OS X Lion (10.7)
  • [AS3 SNIPPET] Video loop class

Archives

  • November 2013
  • March 2012
  • November 2011
  • July 2011
  • February 2011
  • January 2011
  • October 2010
  • March 2010
  • September 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • February 2009
  • June 2008

Categories

  • Actionscript 3
  • AIR
  • Conferences/Meetings
  • Eclipse
  • FDT
  • Flash
  • Flash Catalyst
  • Flex
  • GIT
  • Javascript
  • jQuery
  • Mac OS X
  • Papervision 3D
  • Snippets
  • Tips
  • Uncategorized
  • Wordpress

Tag: as3 flash

[AS3 SNIPPET] Validate email using regular expression

1
2
3
4
5
function validateEmail(email:String):Boolean
{
    var emailExpression:RegExp=/^[a-z0-9][-._a-z0-9]*@([a-z0-9][-_a-z0-9]*\.)+[a-z]{2,6}$/;
    return emailExpression.test(email);
}
Posted on Apr 20, 2009Feb 2, 2011Categories Actionscript 3, Flash, SnippetsTags Actionscript 3, as3, as3 flash, Flash, snippet, Snippets1 Comment on [AS3 SNIPPET] Validate email using regular expression

[AS3 SNIPPET] Removing event listeners using arguments.callee

1
event.currentTarget.removeEventListener(event.type, arguments.callee);
Posted on Apr 19, 2009Feb 2, 2011Categories Actionscript 3, Flash, SnippetsTags Actionscript 3, as3, as3 flash, Flash, snippet, SnippetsLeave a comment on [AS3 SNIPPET] Removing event listeners using arguments.callee

Posts navigation

Previous page Page 1 … Page 13 Page 14
Proudly powered by WordPress