Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getRequestTokenCompleteHandler type conversion error #3

Open
dubbeat opened this issue Jan 7, 2011 · 0 comments
Open

getRequestTokenCompleteHandler type conversion error #3

dubbeat opened this issue Jan 7, 2011 · 0 comments

Comments

@dubbeat
Copy link

dubbeat commented Jan 7, 2011

the existing code threw a type conversion error for me

//var responseVariables:URLVariables = URLVariables(event.data);

I changed it to use the decode method and it worked fine

protected function getRequestTokenCompleteHandler(event:SoundcloudEvent):void

var responseVariables:URLVariables=new URLVariables();
var str:String=new String(event.data);
responseVariables.decode(str)
requestToken=createTokenFromURLVariables(responseVariables);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant