Added basic api for ActionScript 3 client