Vixiom Axioms

April 15, 2008

Some App Engine links

Filed under: ActionSnip, Flash, Python Alastair @ 9:19 pm

Aral Balkan on Building Flash applications with Google App Engine.

PureMVC Python / Google App Engine Demo

Digg! submit Some App Engine links to stumbleupon.com submit Some App Engine links to del.icio.us submit Some App Engine links to reddit.com Like this post? subscribe to the feed.

January 7, 2008

Introducing ActionSnip

My new year’s resolution is to organize my ActionScript snippets, so I made a website to do just that actionsnip.com.

I know yes another snippet site, but none of the others highlight ActionScript properly. And because I don’t only collect snippets but blog posts about ActionScript as well there’s a feature called scraps which lets you save useful posts along side your snippets.

Other features include saving favorite snippets/scraps that others have posted, and a ’steal this code’ link which gives you highlighted code to embed in your blog just like the example below (here’s the original on ActionSnip)

Returns true if inputed email is valid.

function emailValid( email:String ):Boolean
{

    var emailRegExp:RegExp = /(A(s*)Z)|(A([^@s]+)@((?:[-a-z0-9]+.)+[a-z]{2,})Z)/i;
    return emailRegExp.test(email);

}


Usage …

// returns true
trace(emailValid("user@domain.com"));
// returns false
trace(emailValid("user@domaincom"));

// returns false
trace(emailValid("user%domain.com"));



If you don’t like the Flex Builder styling you can overide it with your own styles. Currently it supports just ActionScript but I’m working on MXML and MXML/ActionScript.

Most of the bugs are squashed but if you see anything let me know (it seems to bug out with a snippet over 500 lines of code so please just snippets for now). Constructive (and even destructive) criticism is welcome.

Snip away!

Digg! submit Introducing ActionSnip to stumbleupon.com submit Introducing ActionSnip to del.icio.us submit Introducing ActionSnip to reddit.com Like this post? subscribe to the feed.

Powered by WordPress