First attempt at actionscript