Steven Van Hissenhoven, as3 and facebook connect

A few weeks ago adobe anounced a new ActionScript 3 Library for the Facebook API (www.adobe.com/go/facebook). Facebook and flash are two ever growing platforms and combined could make even more awesome projects so naturally Murten Saerbi went on a mission to find a client/test project to use these two puppies together.

While doing the project I kept thinking about a quick how-to to further explain how it all works.

Constantly delaying this however, made sure somebody beat me to it. Be sure to check out the magnificent post Adobe Flash & Facebook Connect by Steven Van Hissenhoven. You can download the source code and view an example, I barely would have done it better myself! He even made a header about it which is a solid idea and a quick and easy test to… well… test it out.

Go forth, my flash-meets-facebook connect ninjas!

Actionscript 3.0 email validator

A quick email validator snippet. I know it’s not much but it sure is useful!

private function isValidEmail(email:String):Boolean {
var emailExpression:RegExp = /^[a-z][\w.-]+@\w[\w.-]+\.[\w.-]*[a-z][a-z]$/i;
return emailExpression.test(email);
}

“Use it, abuse it!” Like Arcko Drazen would say.