all groups > macromedia flash flash remoting > october 2005 >
You're in the

macromedia flash flash remoting

group:

amfphp 1.0 milestone 3 and flash 8 problem



amfphp 1.0 milestone 3 and flash 8 problem heventorizon
10/17/2005 11:48:18 PM
macromedia flash flash remoting: i have a problem using amfphp 1.0 milestone 3 with flash 8.
This is the code that i've insert in the first frame of my movie:

import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

var gatewayUrl:String = "http://192.168.1.3/flashservices/gateway.php"

NetDebug.initialize();
var _service:Service = new Service(gatewayUrl, null, 'HelloWorld', null ,
null);
var pc:PendingCall = _service.say("Hello world!");
pc.responder = new RelayResponder(this, "handleResult", "handleError");

function handleResult(re:ResultEvent)
{
trace('The result is: ' + re.result);
}

function handleError(fe:FaultEvent)
{
trace('There has been an error');
}

when i execute the movie no result come in output!
i use php 4.3.10 with php4-pear installed. The path and my php service is ok
but nothing is happen
Re: amfphp 1.0 milestone 3 and flash 8 problem heventorizon
10/18/2005 12:00:00 AM
Re: amfphp 1.0 milestone 3 and flash 8 problem Onanga
11/4/2005 8:27:41 PM
Hello

Well, I tried amfphp 1.0 milestone 3 width flash8.0, php4.3, apache2, and
eveything worked just fined (even though I had some troubles for proxy reasons).

Have you tried activating the netDebug and typing some NetDebug.trace() (from
flash) or NetDebug::trace() (from php) ?

Your issues should not be so bar, otherwise you would get a big error message
I guess...

Good luck.

Vincent

http://flash.onanga.com
Re: amfphp 1.0 milestone 3 and flash 8 problem gomeropie
11/16/2005 12:00:00 AM
I have really had no luck with flash mx remoting 8... Has anybody got flash 8
to work with amfphp.... The output panel in the net connection debugger doesn't
even seem to work properly.

Back to flash 7 I guess.


AddThis Social Bookmark Button