Tell target path

here is what I want to do.
I have two movies: main.swf and website.swf
I load the website.swf into main.swf.
after loading it, I want to call an action from website.swf and after that, I want main.swf to go to a label within website.swf
I have this action script for a button within website.swf

on (release) {
label = “tmv”;
_root.door.closedoor();
}

for the label part, I think I need some trick there.
I dont know how to make a rigth path.

I load the website.swf using this script from main.swf
loadMovie(“website.swf”, “loadwebsite”);

thanks for your help!!

You have to give more details concerning the structure of your swfs. But if you want access a variable that is in website.swf from main.swf, all you have to do is put loadwebsite. in front. For instance

loadwebsite.myVar ++;