I need to access/pass variables'(s) of an .swf file into another .swf file.But,How?

Hi all,
I have basic knowledge of Flash and AS3.0.
Suppose i have a flash swf file(main.swf). In this main.swf file, i loaded another swf file(sub.swf) by writing the following code snippet in main.swf file as shown below:

**var textLdr:Loader=new Loader();
var noteUrl:String = “AddNote.swf”;
var noteUrlReq:URLRequest=new URLRequest(noteUrl); textLdr.load(noteUrlReq);
addChild(textLdr);
**
Now, how to acess the data present in main.swf into sub.swf.
Note: Here data represents values/data stored in variables/objects of main.swf file.

Reply me… Thanks a lot in advance…

Srihari.Ch