Soundcloud-AS3-API
Soundcloud-AS3-API copied to clipboard
requestParams aren't copied to GET request
On line 176 of SoundcloudDelegate, you copy the oauth parameters to the requestParmeters. However, if the request is a GET, you don't actually copy the requestParameters to the URLLoader's data property; you just use the "signedURL" which ONLY has the oauth parameters; not the request ones. Hacking for now.
Thanks, I'll look into this tomorrow Dorian
I put this on line 206 of SoundcloudDelegate, but not sure ramifications; only works for GET vars I think:
// [jwarden 10.2.2010] var varsString:String = pureRequestParams.toString();
if(varsString.length > 0)
{
if(urlRequest.url.indexOf("?") > -1)
{
varsString = "&" + varsString;
}
else
{
varsString = "?" + varsString;
}
urlRequest.url += varsString;
}