Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9C1BF174E2 for ; Mon, 27 Oct 2014 07:00:57 +0000 (UTC) Received: (qmail 51839 invoked by uid 500); 27 Oct 2014 07:00:57 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 51800 invoked by uid 500); 27 Oct 2014 07:00:57 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 51789 invoked by uid 99); 27 Oct 2014 07:00:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2014 07:00:56 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_HELO_PASS,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of irwan.husein@gmail.com does not designate 162.253.133.43 as permitted sender) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2014 07:00:30 +0000 Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id C7FCE88DA30 for ; Sun, 26 Oct 2014 23:59:58 -0700 (PDT) Date: Sun, 26 Oct 2014 23:56:45 -0700 (PDT) From: "irwan.husein" To: users@flex.apache.org Message-ID: <1414393005137-8506.post@n4.nabble.com> Subject: Flex AMFPHP 2.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi All, i'm flex + php developer since flex 4.6 today i'm start migrating old amfphp server (1.9) to amfphp 2.2.1 + flex 4.13 unfortunately, i've found some problems in amfphp 1.9, i can do remote call like this *Flex Client :* public var gateway:NetConnection; var PHPParam:Object = new Object; PHPParam.Parameter00 = 'param1'; PHPParam.Parameter01 = 'param2'; PHPParam.Parameter02 = 'param3'; gateway.call("someservice.somefunction", new Responder(resultData, null),PHPParam); *AMFPHP Services* function somefunction($PHPParam) { $Param1 = $PHPParam['Parameter00']; $Param2 = $PHPParam['Parameter01']; $Param3 = $PHPParam['Parameter02']; //do something return "something"; } but, in AMFPHP 2.2.1, i can't do it anymore, i can't sent object to php services, only simple parameter. in their website, they suggest using JSON statement, but theres no example if anyone has ever experienced ? or we just go with ValueObject approach? regards, Irwan -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-AMFPHP-2-2-1-tp8506.html Sent from the Apache Flex Users mailing list archive at Nabble.com.