What version of Red5 are you using? If it's 0.6 RC2 or newer, please create a ticket on http://jira.red5.org

Thijs


Op 7-mrt-2007, om 9:10 heeft wishsand((TOM)) het volgende geschreven:

Dear folks:

Each time I getRemote, the sharedobject is renewed and I can't read the "history" from it.

//The code is:

soChat = SharedObject.getRemote( "ChatHistory", nc.uri, true );
soChat.addEventListener( NetStatusEvent.NET_STATUS, netStatusHandler ); soChat.addEventListener( AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler );
soChat.addEventListener( SyncEvent.SYNC, sharedObjectSyncHandler );
soChat.client = this;
soChat.connect(nc);
txtChatBox.text=String(soChat.data.history);

//When I send the msg, the "history" is set. It should have been stored in the sharedobject and have been read once more. However, it isn't.

soChat.size is always 0 when reconnect.

What's wrong with it?

Thanks!
Sand


_______________________________________________
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

Reply via email to