sending objects in actionscript 2.0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

sending objects in actionscript 2.0

Blank User
the only example given for actionscript 2.0 is the hello world where a
simple string is send back and forth.  is there a way to send arrays
etc?  i know it can be done in amf php but is it possible with py amf?
 i just keep getting errors trying to send an array.
_______________________________________________
PyAMF users mailing list - [hidden email]
http://lists.pyamf.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: sending objects in actionscript 2.0

Nick Joyce
On 10 Jun 2010, at 20:44, Blank User wrote:

> the only example given for actionscript 2.0 is the hello world where a
> simple string is send back and forth.  is there a way to send arrays
> etc?  i know it can be done in amf php but is it possible with py amf?
> i just keep getting errors trying to send an array.
> _______________________________________________
> PyAMF users mailing list - [hidden email]
> http://lists.pyamf.org/mailman/listinfo/users


All the builtin data types are supported for both AMF0 (AS1-2) and AMF3 (AS3) See [1].

It should be as simple as replacing "Hello World' with [1, 2, 3].

If that doesn't work, could you give some more description regarding the error you are receiving (and some relevant code?)

Thanks!

[1] - http://docs.pyamf.org/architecture/typemap.html
_______________________________________________
PyAMF users mailing list - [hidden email]
http://lists.pyamf.org/mailman/listinfo/users