Could it be security sandbox thingy? On 6/7/06, Sam <[EMAIL PROTECTED]> wrote:
Yeah, it is odd. This has been driving me nuts. Here is example code Im using connecting to a sample service. var service = new talkback(); service.returnString("This is a sample string"); SERVICE CLASS import com.LuminicBox.Log.*; import mx.remoting.*; import mx.rpc.*; import mx.remoting.debug.NetDebug; class com.three60.app.talkback { private var gatewayUrl:String = "http://www.5etdemi.com/amfphp/ gateway.php"; private var service:Service; private var logger; function talkback(model) { this.logger = new Logger(); this.logger.addPublisher(new ConsolePublisher()); NetDebug.initialize(); this.service = new Service(this.gatewayUrl, null, "SampleService"); log("SampleService Constructor Called."); } function log(msg){ this.logger.log(msg); NetDebug.trace(msg); } function debug(obj){ this.logger.debug(obj); } function returnString(msg) { var pc:PendingCall = this.service.returnString(msg); pc.responder = new RelayResponder(this, "handleReturnString", "handleRemotingError"); log("returnString Called."); debug(pc); } function handleReturnString(re:ResultEvent) { log("handleReturnString() Called."); debug(re); debug(re.result); } function handleRemotingError( fault:FaultEvent ):Void { log("handleRemotingError() Called."); NetDebug.trace({level:"None", message:"Error: " + fault.fault.faultstring }); } } On Jun 6, 2006, at 2:26 PM, Mike Boutin wrote: > Hmm odd. Can you post an example of your connection script? _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com