SoundCloud-AS3-API: Small Update and new URL

This is just a quick note that I’ve uploaded some minor changes to the SoundCloud-AS3-API on github. I finally added a method to retrieve a signed URLRequest for any API resource. This comes in handy when you want to access the stream of a private track.
Here’s a simple example:

</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">var urlRequest:URLRequest = scClient.getSignedURLRequest(myTrack.stream_url);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">var sound:Sound = new Sound(urlRequest);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">sound.play();</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">

var urlRequest:URLRequest = scClient.getSignedURLRequest(somePrivateTrack.stream_url);

var sound:Sound = new Sound(urlRequest);

sound.play();

I also fixed an issue with GET parameters not being added. Thanks to Jesse for pointing this out  - check out his SoundCloud App for Android built with the AS3-API!

I’m trying to add support for SoundCloud’s new OAuth 2.0 API  in the next release. I’m not sure if this will bring any benefits but the guys at SoundCloud are asking every week for it ;) However, they will continue to support the “old” API.

Note that the project now has a new URL because I changed my github username to “dorianroy”: http://github.com/dorianroy/Soundcloud-AS3-API.