RSS in Flash 2004

I haven’t had time to post anything recently but I have had time to quickly cobble together a little app using flash 2004 and its components. Yet another rss app but it shows nicely the usage of various components, old and new, that 2004 offers. It uses the Accordion and TextArea UIComponents and the XMLConnector to load the urls of the feeds to download. Flash’s css support is also demostrated within the textarea.

Design Patterns in Flash

Now Actionscript is OO, I thought it would be useful to try out implementing a design pattern in Flash. The pattern I chose is the Memento pattern, which is mainly used to implement “undo” functionality in applications. The reason I chose Memento is because its a pattern that uses interfaces and I wanted to explore this in AS 2.0. An interface is an object that defines methods but has no implementation.

Flash TvGuide App

Okay, heres the flash client (only 47k!) for the TVguide webservice posted recently. It’s quite a fairly simple movie using flash remoting and amfphp. I used amf to call my tvguide webservice via SOAP. Instead of having your swf call a specifc flash service, you call a special service which acts like a proxy to SOAP webservices. This service looks like this.. 1// AMFPHP uses by default the PEAR::SOAP 2// library, so you need to define in the 3// gateway not to use that.

UK TV Guide Webservice

Recently I’ve been working on a webservice using PHP and nusoap. It provides information about 41 UK TV and radio programming schedule for the upcoming week. The wsdl can be found here and example php client here. I’m just finishing the final touches to a flash client which I’ll be posting sometime within the next couple days. Hopefully this will show how to use the webservice in your flash apps..

Webservices in Flash 2004

I’ve been playing about with the webservice connector in flash mx 2004. What I’ve discovered is that connecting to a webservice and using the data returned is really easy. I’m using the tvGuide webservice (http://www.nodetraveller.com/webservices/tvGuide/tvGuideService.php?wsdl here at nodetraveller.com as one of the operations it provides is a list of channels which would look ideal in a listbox. Here’s a quick guide to using a webservice: Create a new document from a Query-Error-Response template.

Flash 2004

It’s here! well, almost anyway… Flash 2004 will be released next month. I know, I’m a few days behind but I’ve been too busy to post and besides this blog didn’t exist when the word came out so I have probably the best excuse in the world for a late blog about F2004. Anyway though I’ve been busy, I have been able to read up on the new features of flash.