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:
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.