Import from http://as3-virtual-keyboard.googlecode.com/svn/trunk/