# Tell target path

**URL:** <https://forum.kirupa.com/t/tell-target-path/20166>\
**Category:** Uncategorized\
**Created:** [May 6, 2003, 1:23am UTC](https://forum.kirupa.com/t/tell-target-path/20166 "2003-05-06T01:23:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![takashi0808](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@takashi0808](https://forum.kirupa.com/u/takashi0808)\
**Post date:** [May 6, 2003, 1:23am UTC](https://forum.kirupa.com/t/tell-target-path/20166/1 "2003-05-06T01:23:12Z")

</div>

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!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 6, 2003, 5:13pm UTC](https://forum.kirupa.com/t/tell-target-path/20166/2 "2003-05-06T17:13:32Z")

</div>

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

```auto
loadwebsite.myVar ++;

```
