Home > Flash > SWX RSS reader in 3 minutes

SWX RSS reader in 3 minutes

November 10th, 2007 DannyT Leave a comment Go to comments

I just read Aral’s post about Florian’s SWXml (an xml parser for SWX). I finished reading that post at 18:22 and by 18:25 I’d loaded my blog’s 10 most recent posts into flash!

That’s incredible on the easy scale. All i’ve ever done with SWX before now was the moo-card tutorial (which is about 4 lines of code) since my FOTB pledge to myself.

I even struggled with some basic AS syntax (array.length not .count as i was trying), so if I used Flash regularly I think that would have taken me around one minute to do. I had to do this for a project I worked on some months back and it took me best part of a day to get everything in place, setting up a php to xml parser loading the xml into flash, xmlObj-ing the xml when loaded!

+10 kudos points to Aral
+10 kudos points to Florian

My SWX RSS reader:

[kml_flashembed movie="/projects/swx/RSSReader/RSSReader.swf" width="252" height="167" /]
and just so you know how easy: here is the source

Okay it’s not brilliant, but less than 3 minutes!

Categories: Flash Tags:
  1. November 19th, 2007 at 21:08 | #1

    Hi Danny,
    last week, I recorded a little screencast for SWXml. It is exactly 2 min 48 ;-)
    SWXml screencast

    I’d like to add that there is a SWX/SWXml RSS widget. I took me 95 % of the time for designing it, 5% for writing the code.

    SXWml RSS Widget

  2. November 19th, 2007 at 21:36 | #2

    Very cool Florian, I love how easy it all is! Thanks for swxml!

  3. kevin
    December 8th, 2007 at 21:50 | #3

    DannyT, I am racking my brains as to what I am doing wrong but I have copied the code exactly from swx and even tried running your swf from the fla you posted but I can’t get it to work

    ‘The class “SWX” could not be loaded. var swx:SWX = new.swx();’

    I have looked at the swx gateway output website and nothing displays here either. I am really missing something here, got a great design for a twitter console and failing at this last hurdle. Any guidance or light you could shed would be greatly appreciated.

  1. November 11th, 2007 at 11:39 | #1