Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / November 2005



Tip: Looking for answers? Try searching our database.

amfphp 1.0 milestone 3 and flash 8 problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
heventorizon - 18 Oct 2005 00:48 GMT
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
heventorizon - 18 Oct 2005 14:44 GMT
noone have used amfphp 1.0 milestone with flash 8 and php 4.3.x? If yes how you get it?
Onanga - 04 Nov 2005 21:27 GMT
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
gomeropie - 16 Nov 2005 16:35 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.