Archive for the 'SWX' Category

SWX recordset example

Sunday, May 20th, 2007

Here’s a little example, using slightly altered code from the previous post to load in the data. 

view the live sample here:
(more…)

The SWXVars class

Friday, May 18th, 2007

Following the previous post about my SWX implementation within my custom services manager/gateway, I thought it’d be good to see how this would work within Flash. Playing with loading the external swf locally (which for now doesn’t work on my server here, but with PHP5 installed it shouldn’t pose a problem) I found it a little awkward to load data in random movieclips, so I’ve created a wrapper class, SWXVars. It allows for eventListeners to track loading progress and should make it a lot easier to do something with the data once loaded.
(more…)

SWX meet my recordset :)

Monday, April 30th, 2007

I’ve played around with AMFPHP at some point, but found it just too much of a hassle to work with, so I wrote my own data services to get recordsets from a database. It started with playing a bit with the Sephiroth’s Serializer and kinda started leading it’s own life. Since then, i’ve always meant to share it, but it was never quite finished (it isn’t now really either, but it works). But since Aral’s presentation at LFPUG about SWX, i got a little excited, since i could keep using the backend but, but use a set of interfaces to talk to Flash now. Not just serialized data, or XML, but also directly by loading a swf (very handy for getting data into Flash Lite apps without parsing for example). Mike told me I should blog about it, so here I am.. typing away. I hope you’ll find it useful.
(more…)

SWXperimentalism.

Friday, March 30th, 2007

(this is a little post about flash)

I’ve been to LFPUG last night and for the first time in a long time, have come back truly inspired. Listening to Aral’s talk about how he wanted to get back into doing fun stuff - hooking up API’s, scraping twitter, creating things without worrying whether you’re doing it using best practices -, really got to me. It was and is still in essence the sole reason for me to be looking into flash. If you want to code, you can off course, but flash is not about best practices, well… not always.. experimenting, creating, building, doing nice, beautiful and fun things. (more…)