Hi, I'm embedding a Flash file in the HTML/JavaScript container, and would like to use an API to call opensocial instead of making all the ExternalInterface calls myself. MySpaceID for AS3 is REST only. Since I want to use JavaScript, i've found that the latest opensocial JavaScript API for ActionScript is "opensocial-actionscript-client". I've run into a few problems though. It seems that MySpace only support 0.8 of opensocial, but this library is for 0.9. Also, it doesn't have MySpace extensions. Lastly, I follow the sample to try to use the API, but it doesn't work:
client = new JsWrapperClient("opensocial.flash");
client.addEventListener(OpenSocialClientEvent.CLIENT_READY, onReady);
printer.print("starting client");
client.start();
the problem is that onReady never gets called. I looked into the opensocial-actionscript-client container code, and it's checking to see if "opensocial.flash.jsReady" is set to true, and only then will it continue. But MySpace's OpenSocial implementation doesn't provide opensocial.flash. Is this a difference between 0.8 and 0.9? Will MySpace be providing their own javascript wrapper for ActionScript?
Regards...