Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 8th, 2006, 03:01 PM
Authorized User
 
Join Date: Apr 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to chayanvinayak
Default amfphp not working online

i have used following code it is working offline but not wokring online (i have corrected the gatewayUrl


var gatewayUrl:String = "http://www.gameworldonlinetest.com/cart/tmp/gateway.php";
import mx.remoting.*;
import mx.remoting.debug.*;
import mx.rpc.*;
NetDebug.initialize();

var serviceName:String = 'auth';
var auth:Service = new Service(gatewayUrl, null, serviceName);

function handle_SimpleReturn(re:ResultEvent) {
_root.datagrid.dataProvider = re.result;
}
function handle_Fault(fe:FaultEvent)
{
trace("There was this fault: " + fe.fault.faultstring);
}
var pc:PendingCall = auth.authe();

pc.responder = new RelayResponder(_root, 'handle_SimpleReturn', 'handle_Fault');

chayan vinayak goswami
__________________
chayan vinayak goswami





Similar Threads
Thread Thread Starter Forum Replies Last Post
window.opener working .... not working alyeng2000 Javascript How-To 5 January 5th, 2007 08:05 AM
Web.Config..Working or Not Working peace95 ASP.NET 1.0 and 1.1 Basics 1 September 18th, 2006 06:53 AM
who is online? keyvanjan Classic ASP Basics 6 May 23rd, 2006 10:00 AM
Local COM working , but not working at Web Serv nagen111 .NET Web Services 3 February 19th, 2005 04:22 AM
users online.. ruhin Beginning PHP 0 February 9th, 2005 01:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.