[swx] multiple SWX instances in actionscript

Bennie Jolink benni.jolink at gmail.com
Fri Dec 28 23:34:42 PST 2007


hello all,

I'm working on a flash twitter app: www.eerkmans.nl/eurosonic.

I'm having trouble with actionscript instances of the swx class. When I have
a single instance (see the actionscript pasted below) everything runs fine,
but when this function gets called more than once at the same time,
everything stops working. I want to make a flickr call and a twitter call at
approximately the same time.

        var mySwx = new SWX();
        mySwx.gateway = "http://swxformat.org/php/swx.php";
        mySwx.encoding = "POST";

        var callParameters:Object =
        {
            serviceClass: "Flickr",
            method: "photosSearch",
            args: ["","","test"],
            result: [this, flickrCallback]
        }
        mySwx.call(callParameters);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swx_osflash.org/attachments/20071229/3e3bb3e7/attachment.html 


More information about the swx mailing list