I am trying to get the oauth to work from flash (as3). For this, I am using the yos_as3_sdk-1.3.
There are 2 issues. 1) The examples provided at http://developer.yahoo.com/flash/yos/examples.html are for CS3 and are incompatible with CS5 (the current one) I used FlashDevelop, so am able to use it. 2) When the swf is loaded from the bin directory, it connects to the login api which opens in a new window as expected. When the swf is loaded from the webserver, I notice the Security Error - SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2170"
Need help in resolving this.
Note: The local webserver is of yahoo.com domain. I have set it to test.yahoo.com. The https://api.login.yahoo.com/crossdomain.xml seems to allow requests from yahoo subdomain and also unsecured ones. What else could be the problem?
I read about Local Sandbox env. But that would be helpful when one loads the swf directly from the filesystem (as opposed to loading from the webserver).