la propriété DATA de shared object est READONLY.
De ce fait, il faut utiliser setProperty
setProperty(propertyName:String, value:Object = null):void
Updates the value of a property (defined with the data property) in a shared object and indicates to the server that the value of the property has changed.
exemple d’ utilisation
public function testSync():void {
so_chat.setProperty(“value”,Math.random());
}
public function OnSync(event:SyncEvent):void {
Alert.show(“on sync:”+so_chat.data.value);
}
0 Responses to “easyphp et url rewriting”
Leave a Reply