I've successfully used:
In Actionscript:
so.data.message = somevalue;
On server:
so.beginUpdate();
so.setAttribute("user_conn", user_conn);
so.endUpdate();
Regards,
Bill
Ke Boqi wrote:
> now I found if I use the SharedObject.setProperty to upate data, it
> works well on my flex app.
> like this:
> so.data["message"] = somevalue; // dosen't work on the flex2 app
> so.setProperty("message", somevalue); //works well
>
>
>
> 2006/9/10, Ke Boqi <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
>
> yeah, I've already set defaultEncoding constant to AMF0, I
> desided to use the call method too, wish it could be solved in 0.6
>
> 2006/9/10, Dan Rossi <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>>:
>
> Ke Boqi wrote:
> there's no synchronize when I update a sharedobject on a flex2
> app, but it works well on a flash app, I am using the 0.5
> final, anyone have this problem too?
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Red5 mailing list
>[email protected] <mailto:[email protected]>
>http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
> I noticed that too, even when setting the defaultEncoding
> constant to AMF0 , do you know about using that for RED5 and
> FMS with AS3 ?
>
> So the SO didnt work so i had to use call methods instead on
> each of the connected clients.
>
> _______________________________________________
> Red5 mailing list
> [email protected] <mailto:[email protected]>
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Red5 mailing list
>[email protected]
>http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org