You need to create a remoteobject in Flex.
I use ColdFusion for my backend but it should be similar. I'm also not sure if you're using amfphp or not but this is the basis to work from: <mx:Script> .... private function accessRemote():void { phpService.remotePHPFunctionName( variable1, variable2, variable3 ); } .... <mx:Remoteobject id="phpService" destination="amfphp"/> <mx:Method name="remotePHPFunctionName" result="functionResultHandler(event)" fault="faultResultHandler(event)" /> </mx:Remoteobject> <mx:Button label="Remote Object" id="btnRemote" click="accessRemote()" /> ________________________________ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of shrike6_7 Sent: Tuesday, March 24, 2009 5:40 AM To: flexcoders@yahoogroups.com Subject: {Disarmed} [flexcoders] remoteobject and parameters Hello, with a remoteobject how can I send parameters? If I use: <mx:method name="setData"> <mx:arguments> <arg1>{text1.text}</arg1> <arg2>{text2.text}</arg2> </mx:arguments> </mx:method> at serverside (php with amf) I have a function setData($arg1,$arg2) but can I send this parameters in POST and receive it in the $_POST variable? Thanks -- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/> , and is believed to be clean.