All,

I'm working on a Flash application (AS2) that's supposed to consume
XML data provided by a Java Servlet.

I've been provided a simple Flex application as a demo for accessing
that service. That Flex app uses HTTPService (resultFormat="e4x") to
access the data.

Of course, I need to build the application in Flash, not Flex, so I'd
like to know how to build something in Flash/AS2 that does the same
thing.

For example, I tried this:

var _xml = new XML();
_xml .ignoreWhite = true;
_xml .onLoad = xmlLoaded;
_xml.load("https://someURL/servlet/SomeServlet?action=input";);

function xmlLoaded(success) {

        trace("success: "+success);
        trace(this);

}


However, this doesn't work (the xmlLoaded() function is called, but
"success" is false, and "trace(this)" outputs nothing.

Is it possible to do what I'm trying to do? Any advice/insight greatly
appreciated!

Cheers,
Matt Stuehler
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to