New SWX Tutorial: How to get the list of 100 most recent Flickr photos into Flash with SWX RPC.

What do you mean, "where's the tutorial?" It's in the photo of my new SWX Moo card, above!
I just received the new batch of Moo cards that show you how easy SWX is to use. And just how easy is that? So easy that the instructions fit onto a Moo card, of course! 'Nuff said.
If you want to create your own SWX Moo cards using the Moo card creator, upload the SWX Moo Card JPEG (175KB) for the front of the card and use the following code for the back:
// Open http://swxformat.org/php/analyzer/ loader.serviceClass = "Flickr"; loader.method = "swxPhotosGetRecent"; loader.debug = true; loader.loadMovie("http://swxformat.org ↪ /php/swx.php", "GET");
Update: In the latest set of cards, I've changed the back a bit. I've removed the CC logo to make room for a bit more text (for better formatting) and made all lines except the first one boldface as using the continuation arrow (RIGHTWARDS ARROW WITH HOOK in the Character Palette on OS X) makes the last line boldface in any case. Note that the text above will not fit if you use the CC logo.
If you want a couple of SWX Moo cards (and some SWX Moo stickers) and don't want to print them yourself, send a self-addressed, stamped envelope to the following address:
SWX me up, Aral! 14 Brighton Place Brighton, BN1 1HJ United Kingdom.
(Or just come up and say hello to me if you see me around at a conference or other community event.)
PS. I'm really happy with how the cards turned out but, unfortunately, there's a bug in Moo's card creator that resulted in the last line of code coming out in boldface when it shouldn't have. I'm going to tell them about it now. I submitted bug reports for this and another issue I encountered and apparently they are both known issues. I hope that Moo addresses this issue, at least, as it affects the end result quite substantially.
The New SWX Tutorial: How to get the list of 100 most recent Flickr photos into Flash with SWX RPC. article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.
Subscribe to my blog






Daniel Schutzsmith
Genius! Love the cards!
August 17th, 2007 at 12:25 pmRonny
Looks great! Pretty funny too, to make a tutorial based upon you moo cards!
August 17th, 2007 at 1:02 pmGreat!
francis bourre
hello aral! this swx stuff souds great.
August 17th, 2007 at 1:58 pmJust a quick questions, in real world (thousands users) how swx behaves with bandwidth and server cpu process compared to amfphp or webservices techs?
Eugene
Hi, Aral!
i would like to share some experiments with SWX and Flickr:
1. http://www.inspirit.ru/exchange/experiments/flickWord/
August 21st, 2007 at 8:41 am2. http://www.inspirit.ru/exchange/experiments/desktop/
3. http://www.inspirit.ru/exchange/experiments/flickr/
Aral
Hi Eugene,
How cool!
Please let me know how your experience was in working with SWX and the SWX Flickr API on these. Was it easy? How quickly were you able to get up and running? Was there anything where you thought “Ah, it would be easier if I could do this or if it worked differently?” Feel free to leave a comment here, or email me at my-first-name at this-domain, or send me your email address and name in a bunny message and I’ll contact you!
Again, great stuff!
Some initial feedback after playing with them: it would be so cool if flickWord displayed the words larger initially (I had to zoom in quite a bit and it looks so much more impressive when zoomed in). And maybe controls on the screen would be more intuitive than just the context menu (realizing, of course, that these are experiments!)
I love all three very excited to hear from you and looking forward to what else you’ll be creating! OK, going to blog this now
August 21st, 2007 at 9:18 amoliver_l1
*** Security Sandbox-VIOLATION***
Code does’nt work for me! i get always an error message.
MFG from germany
October 21st, 2007 at 5:30 pmejm
I get the same “sercurity sandbox violation” error message.
Sometimes I get a different error: “loadMovie is not a function”
Unfortunately, it hasn’t worked for me
November 6th, 2007 at 8:03 pmejm
> I get the same “sercurity sandbox violation” error message.
November 7th, 2007 at 12:35 am>
> Sometimes I get a different error: “loadMovie is not a function”
>
> Unfortunately, it hasn’t worked for me
Actually, sometimes it has. But I don’t understand why sometimes it has and sometimes it hasn’t 8-@
bong
Is swx is actionscript 3.0 or 2.0?
January 5th, 2008 at 6:15 pmAral
Hi bong,
The only implementations of SWX RPC are currently in ActionScript 2.
January 5th, 2008 at 8:20 pmbong
ok thanks a lot.
January 6th, 2008 at 3:20 amUnoti
That’s really great that you got your tutorial to fit on a business card. Too bad I couldn’t make it work!
January 18th, 2008 at 7:48 am