Hello,
How to acces remote shared object from other class?
I have
package {
import flash.net.*;
import flash.display.*;
public class Main extends Sprite {
public var _sharedBoardObject:SharedObject;
public var ncBoard:NetConnection;
public var rtmpAddress:String;
public function Main():void {
ncBoard = new NetConnection();
rtmpAddress = "rtmp://192.168.0.1/myApp";
ncBoard.connect(rtmpAddress);
_sharedBoardObject =
SharedObject.getRemote("sharedBoard02",
ncBoard.uri, false);
_sharedBoardObject.connect(ncBoard);
}
}
}
I would like to add some data or modify shared object.
How can I acces _sharedBoardObject from another class?
Or maybe I need to connect to "sharedBoard02" directly?
Regards,
Ktt
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders