Mobile game controller for actionscript games