[Zmx-cvs-commit] zmx/examples InstantXMLClient.as,NONE,1.1.2.1 XMLRPCClient.as,NONE,1.1.2.1 asyncTes
Brought to you by:
sspickle
|
From: Steve S. <ssp...@us...> - 2006-02-27 17:28:16
|
Update of /cvsroot/zmx/zmx/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22881/examples Modified Files: Tag: ActionScript_2-0_conversion asyncTest.fla testXMLRPCHelper.fla Added Files: Tag: ActionScript_2-0_conversion InstantXMLClient.as XMLRPCClient.as Log Message: make asyncTest.fla work with flash 8 Index: testXMLRPCHelper.fla =================================================================== RCS file: /cvsroot/zmx/zmx/examples/Attic/testXMLRPCHelper.fla,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 Binary files /tmp/cvspRbRPL and /tmp/cvsX7NLli differ --- NEW FILE: XMLRPCClient.as --- import zmx.* // // this is just an example XNLRPC Client class for the asyncTest .fla // dynamic class XMLRPCClient extends MovieClip { function XMLRPCClient() { this.xmlrpc = new zmx.XMLRPCHelper(this); } function onLoad() { trace("XMLRPC Client Window Loaded."); this.clearButton.addEventListener("click", function(evt_obj:Object):Void { evt_obj.target._parent.clearText(); }); this.callButton.addEventListener("click", function(evt_obj:Object):Void { evt_obj.target._parent.demoRequest(); }); } function demoRequest() { trace("Calling:" + this.getUrl.text); this.xmlrpc.callMethod(this.getUrl.text); } function responseSuccess( result ) { this.showResult("success response! " + result); } function responseFailure(reason ) { this.showResult("responseFailure! " + zmx.ZMX_Lib.serializeObject(reason)); } function showResult( result ) { this.displayText.text += "We got: " + result + '\r\n'; } function clearText(comp) { this.displayText.text = ''; } } --- NEW FILE: InstantXMLClient.as --- (This appears to be a binary file; contents omitted.) Index: asyncTest.fla =================================================================== RCS file: /cvsroot/zmx/zmx/examples/asyncTest.fla,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 Binary files /tmp/cvsZvissS and /tmp/cvsMXnZAp differ |