Re: [flexcoders] AMFPHP with NetConnection or RemoteObject ?

2008-03-25 Thread Mario Falomir
Thanks for the info Aaron :)

On Tue, Mar 25, 2008 at 4:07 PM, Aaron Miller <
[EMAIL PROTECTED]> wrote:

>   The page on the AMFPHP 1.9 beta release recommends using RemoteObject.
> When using NetConnection, for some reason AMFPHP uses AMF0 instead of AMF3.
> Someone else on this list ran into a problem with this when returning a
> record set from their service. AS3 no longer supports the RecordSet class,
> but if you used RemoteObject instead it would send it back as an
> ArrayCollection over AMF3.
>
> I've been tinkering around with NetConnection seeing if I can get a work
> around for this, but have been unsuccessful so far.
>
> Hope this helps,
>
> ~Aaron
>
>
> On Tue, Mar 25, 2008 at 3:17 PM, Mario Falomir <[EMAIL PROTECTED]>
> wrote:
>
> >   Hi, which approach it is better for AMFPHP Flash Remoting, to use
> > flash.net.NetConnection or the Flex Framework RemoteObject component?
> > Are there any advantages/disadvatages from one over the other?
> >
> > Regards,
> > Mario
> >
>
>
>
> --
> Aaron Miller
> Chief Technology Officer
> Open Base Interactive, LLC.
> [EMAIL PROTECTED]
> http://www.openbaseinteractive.com
> 
>


Re: [flexcoders] AMFPHP with NetConnection or RemoteObject ?

2008-03-25 Thread Aaron Miller
The page on the AMFPHP 1.9 beta release recommends using RemoteObject. When
using NetConnection, for some reason AMFPHP uses AMF0 instead of AMF3.
Someone else on this list ran into a problem with this when returning a
record set from their service. AS3 no longer supports the RecordSet class,
but if you used RemoteObject instead it would send it back as an
ArrayCollection over AMF3.

I've been tinkering around with NetConnection seeing if I can get a work
around for this, but have been unsuccessful so far.

Hope this helps,

~Aaron

On Tue, Mar 25, 2008 at 3:17 PM, Mario Falomir <[EMAIL PROTECTED]> wrote:

>   Hi, which approach it is better for AMFPHP Flash Remoting, to use
> flash.net.NetConnection or the Flex Framework RemoteObject component? Are
> there any advantages/disadvatages from one over the other?
>
> Regards,
> Mario
>  
>



-- 
Aaron Miller
Chief Technology Officer
Open Base Interactive, LLC.
[EMAIL PROTECTED]
http://www.openbaseinteractive.com