Posts Tagged ‘flash’

LAST.FM API AUTH

Thursday, May 14th, 2009

A large part of my application is the use of the last.fm API to generate customised music listening to replace the radio generated playlist. I have been making good use of actionscript 3 last.fm api over on google code. It has been a huge help in getting last.fm data in to Flash. However, it seems to be an early version, as certain methods are far from complete, including the auth method used to authenticate users.

I have rewritten parts of the auth method so that it is called correctly. Particularly the current requestToken() parameter was a little clunky as it involved [...]

MAX/MSP flashserver

Friday, January 30th, 2009

A large part of the code for our game over at mutantstudio.com is sending the calculations from MAX/MSP into Flash. To do this I have been using a max external called flashserver. This essentially allows for communication between Flash and MAX and vice versa. However, as this is quite an old external, there was only AS2 source code provided, which is no good as our game is fully AS3 based.

I have rewritten the code into AS3, with a simple function that splits the incoming string into an array and places each array item into a textbox. I have also provided [...]