[swx] SWXml
arjun urs
arjunurs at yahoo.com
Sat Dec 8 10:04:50 PST 2007
Hi,
I am trying to use swx in my flash application. Am I doing anything wrong in the code below? because it doesn't seem to work.
loader.serviceClass = "SWXml";
loader.method = "parseXML";
loader.args = ["http://service.openkapow.com/hasin/babelfishenglishtofrench.xml?text=Good+Morning&Translate+From+English+To=German"];
loader.debug = true;
loader.loadMovie("http://swxformat.org/php/swx.php", "GET");
function onEnterFrame()
{
if (loader.result)
{
trace(loader.result.result[0].text[0].text);
onEnterFrame = null;
}
}
Thanks,
Arjun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swx_osflash.org/attachments/20071208/93c4f2d9/attachment.html
More information about the swx
mailing list