Simple Actionscript class to allow logging in the browser