RE: [Flashcoders] Access shared object from other class

2009-10-14 Thread Barry Hannah
- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ktt Sent: Thursday, 15 October 2009 9:33 a.m. To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Access shared object from other class Hello, How to acces remote shared o

Re: [Flashcoders] Access shared object from other class

2009-10-14 Thread Paul Andrews
ktt wrote: 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:NetConnectio

Re: [Flashcoders] Access shared object from other class

2009-10-14 Thread Karl DeSaulniers
Not positive, but I think you have to have the public variable outside any functions or extended classes. Someone please correct me if I am wrong. package { import flash.net.*; import flash.display.*; public var _sharedBoardObject:SharedObject; public class Main exte

[Flashcoders] Access shared object from other class

2009-10-14 Thread ktt
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;