I've been getting some server shared objects going with Red 5 and have a 
question.   Anyone have any insight?

On the server side:

    I've created an SO:

    @Override
    public boolean appStart(IScope app) {

        appScope = app;

        createSharedObject(app, "mediaCenterSO", true);
        so = getSharedObject(app, "mediaCenterSO");

        return true;
    }


On the client side,

    I've used this method to set the value of a SO element, and it 
successfully results in an onSync on the clients:
 
        remote_so.data.elementName = selectedButton.data;

    If I use the following to set the value of the SO element, the 
element value is successfully set, but onSync is never called in the client:

        nc.call("setAttribute", null, "elementName ", selectedButton.data);

Question:  is that expected behavior?

Thanks,
Bill
  

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to