I've been also trying to make an AMFPHPService, quite different than yours, but after looking at your code I've a doubt:
flash_proxy override function callProperty( methodName:*, ...args):* {
AppUtil.info("passed callProperty");
if( gateway_conn == null )
gateway_conn = new RemotingConnection( endpoint );
var respond:ResponderAMF0 = new ResponderAMF0( methodName, setQueryResult, setQueryFault );
AppUtil.info( "methodName: " + methodName + " endpoint: " + endpoint + " source: " + source + "." + methodName.toString() );
gateway_conn.call( source + "." + methodName.toString(),
respond,
args[ 0 ], args[ 1 ], args[ 2 ] );
_methodResponderArray[ methodName ] = respond;
return respond.getAsyncToken();
}
I'm also using the ..args parameter, but when sending it to the php service they seem to disappear if I pass the args variable itself, without using an index.
So my doubt is: using your implementation you can only pass three args, can't you? How would you do it if you want to pass more than three args?
Thanks,
Oriol
2006/3/28, Renaun Erickson <[EMAIL PROTECTED]
>:
I have created an example showcasing Flex2 Beta2, Cairngorm2 and
AMFPHP. It uses a custom RemoteObjectAMF0 component I created. The
custom component allows access to AMF0 format services. The access
tries to mimic a subset of what you can do with the Flex 1.5
RemoteObject. It does not support all the features of Flex 1.5
RemoteObject and is first draft code, but it can work nicely in the
context of Cairngorm's Service.mxml (ServiceLocater) code structure.
The example code is currently in the context of the Cairngorm Login
example that is found in the Cairngorm 2 download.
Please remember that AMF3 is the newer AS3/Flex2 format and therefore
the longevity of the custom RemoteObjectAMF0 is unknown. A few of us
are hoping to see a AMF0 supported RemoteObject to be part of the
Flex2. But in the end it does not matter once Flex2 is released and
AMF3 gets embraced by a wider adapter/connector base.
You can find the example (as well as another example I created)
located here:
http://www.renaun.com/flex2/
Renaun
--- In [email protected], William Lambé <[EMAIL PROTECTED]> wrote:
>
> Hello guys,
>
>
>
> Did someone try to use Cairngom (architectural framework for flex) with
> AMFPHP ?
>
>
>
> I ask because I don't see clearly (in the sample Cairngorm Login) how to
> change LoginDelegate and Services.mxml to use it with AMFPHP… (for
exemple
> where to introduce the RemotingConnection of Tweenpix
>
( http://www.tweenpix.net/blog/index.php?2006/01/03/543-hello-world-en-amfphp
> -avec-flex20 ))
>
>
>
> If you tried one time, coud you explain us please.
>
>
>
> Thank you,
>
>
>
> William.
>
--
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/
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

