Hi!

I'm having some difficulties sending parameters from Flex to AMFPHP.
Because flex has to send 2 parameters, AMFPHP always complains I
haven't sent the second argument, never the less the second argument
in in the array.

Below is my code:

var arrPosredovani:Array = new Array();
 arrPosredovani[0] = ["1","1"];
 arrPosredovani[1] = ["2","2"];

gateway.call("Projekt.shraniProjekt", new Responder(onResult,
onFault), arrPosredovani);

I also tried like

var arrPosredovani:Array = [["1","1"],["2","2"]]

and still AMFPHP complains about not sending the right number of
parameters. If I change my AMFPHP function to allow only one parameter
then passing variables from Flex to AMFPHP works as it should. Also
this function works just fine in browser of AMFPHP.

What am I doing wrong?
I'm using the latest version of AMFPHP 1.2






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to