Referencing variables/objects from external FLA files

Hi Guys…

I am trying to display in ‘Reciever.swf’ the value a shared object updated in ‘TextSO.swf’ . I have run into some problems. The following is my code:

 
package 
{
import flash.events.SyncEvent;
import flash.events.NetStatusEvent;
import flash.events.MouseEvent;
import flash.net.SharedObject;
import flash.net.NetConnection;
import flash.display.Sprite;
import TextSO;
 
public class Reciever extends Sprite
{
  private var rtmpGo:String;
  private var nc:NetConnection;
  private var ts:TextSO;  
 
  public function Reciever()
  {
 
   ts = new TextSO();   
   rtmpGo = "rtmp:/basicSO";
   nc = new NetConnection( );   
   nc.connect(rtmpGo);
   display();
  }
  private function display()
  {
 
   lblContainer.text = ts.text_so.data.msg;   
  }
 
}
}
 

I am getting a ‘1178: Attempted access of inaccessible property text_so through a reference with static type TextSO.’ I don’t understand how TexSO is a static type? Hope someone can advise. Thanks.