SWX RPC is so simple, it fits onto a QR Code!
What's this? It's a QR Code that contains all the ActionScript you need to get the most recent 100 photos from Flickr into Flash using SWX RPC.
Check it out if you have a QR Code reader (Nokia N95s, for example, come with one.) Or, you can download the excellent Kaywa reader for your phone to try it out.
For those of you without QR Code readers, the code is below:
loader.serviceClass="Flickr";
loader.method="swxPhotosGetRecent";
loader.debug = true;
loader.loadMovie("http://swxformat.org/php/swx.php", "GET");
If you want to test this, open the SWX Data Analyzer in a browser window (the loaded data will display there because debug mode is set to true.) Create a movie clip called loader
in a new FLA in Flash and add the code above to your FLA and test the movie.
And this, incidentally, also happens to fit on a Moo card (and I'm getting new ones printed as we speak!) Ask me for one if you bump into me somewhere! :)
So tell me, can remote procedure calls get any simpler? :)
Read more about SWX at swxformat.org or watch the SWX PHP MAMP Bundle screencast.
Comments
by admin on 2007-08-14 06:32:42
by James Urquhart on 2007-08-14 14:18:59
by Aral on 2007-08-14 16:31:19
by links for 2007-08-14 « thebadtiming on 2007-08-14 23:24:58
by Lee Probert on 2007-08-15 10:00:18
by James Urquhart on 2007-08-15 20:30:33
by James Eberhardt on 2007-09-10 03:46:37
by Brand Attention Mobile SEO and QR Codes Bar Codes on 2007-10-29 11:40:13
by Norris on 2011-11-15 02:56:13
by Julia on 2011-11-17 02:55:46