I have wanted to have a little project for a while now. Something to add to this blog that would help me learn something new and suffice my need to code. So I decided to create a really simple Flickr widget in Flex (frame work over kill I know).
Previously in flex I have used SOAP for communications, which is great, but it appears that Flickr provide SOAP services but no WSDL, great... what's the point in that guys, you mares well just use REST! Well I guess that's what they want you to do, so I decided to use their REST service.
This is as easy to do in AS3 as a SOAP web services, the only limitation is the Flickr API, annoyingly it's not as easy to grab a random one of my photos as I initially hoped. So for the time being, it's just a totally random Flickr photo.
So here is the code form my example REST web service in AS3 (Flex) which I expect would also work in AIR.
RandomPhoto Source Code
I have been re factoring some stuff in action script 3 recently and the old date manipulation was a bit hacky. It included get time then adding multiples of milliseconds to epocs, which was a bit confusing.
I though I would be a good idea to write a few methods in my personal utilities class, simple [...]
After many weeks of hard work and careful planning we made a seamless roll out of Ceros 1.9.0.
So what’s in the new version I hear you cry…
Deep linking
Ability to open a magazine on a specific page or spread.
New share functionality
A new toolbar option and API call to allow users to send a link to the [...]
The evening we popped down to Adobe live to be confronted with the normal (and expected) sales stuff, in fact there seemed to be almost as many people there from Adobe as visitors!
After buying some books (more on them later) and .net magazine (again more on that later) we made a quick exit and cursed [...]
On Wednesday night I went along to Chinwag Live: Media Widgetised here in London. Chaired by Steve Bowbrick (from King of shaves), it flowed like social chat, with short sharp snipets of discussion and no powerpoint (which was nice).
I also had a good chat after with some guys from Emap, about RSS on the mobile. [...]