FMX target path that works both ways

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

_parent.displayfield = "hello";

should do the trick… =)

kgggggggggggggg :slight_smile: :slight_smile:

thanks again kax!

you’re welcome. :wink: =)