# FMX target path that works both ways

**URL:** <https://forum.kirupa.com/t/fmx-target-path-that-works-both-ways/21753>\
**Category:** flash\
**Created:** [May 26, 2003, 2:04am UTC](https://forum.kirupa.com/t/fmx-target-path-that-works-both-ways/21753 "2003-05-26T02:04:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![meisje](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@meisje](https://forum.kirupa.com/u/meisje)\
**Post date:** [May 26, 2003, 2:04am UTC](https://forum.kirupa.com/t/fmx-target-path-that-works-both-ways/21753/1 "2003-05-26T02:04:17Z")

</div>

i have a main-movie with a movieclip called “area”, into this movieclip is loaded an external movie.swf

a clip inside this movie.swf has the below script

onClipEvent (enterFrame) {  
\_level0.area.displayfield = “hello”  
}

this work fine but when i want to play movie.swf independantly the target-path is not understood. also just

onClipEvent (enterFrame) {  
displayfield = “hello”  
}

doesn’t work in both situations

BTW. displayfield is a dynamic text field, the relative path works well with ‘normal’ movieclips

question: how do i write down a path that works when movie.swf is independant as well as when loaded into another movie?

tia, meisje

---

<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 26, 2003, 2:27am UTC](https://forum.kirupa.com/t/fmx-target-path-that-works-both-ways/21753/2 "2003-05-26T02:27:29Z")

</div>

```auto
_parent.displayfield = "hello";

```

should do the trick… =)

---

<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 26, 2003, 2:30am UTC](https://forum.kirupa.com/t/fmx-target-path-that-works-both-ways/21753/3 "2003-05-26T02:30:30Z")

</div>

kgggggggggggggg 🙂 🙂

thanks again kax!

---

<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 26, 2003, 2:31am UTC](https://forum.kirupa.com/t/fmx-target-path-that-works-both-ways/21753/4 "2003-05-26T02:31:32Z")

</div>

you’re welcome. 😉 =)
