API additions, API test file modifications, and Flash crossdomain file