# FMX if (\_root.ta.\_droptarget == "/oa") {

**URL:** <https://forum.kirupa.com/t/fmx-if--root-ta--droptarget-oa/137364>\
**Category:** Uncategorized\
**Created:** [February 14, 2005, 2:27am UTC](https://forum.kirupa.com/t/fmx-if--root-ta--droptarget-oa/137364 "2005-02-14T02:27:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ditti](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@ditti](https://forum.kirupa.com/u/ditti)\
**Post date:** [February 14, 2005, 2:27am UTC](https://forum.kirupa.com/t/fmx-if--root-ta--droptarget-oa/137364/1 "2005-02-14T02:27:16Z")

</div>

I have a movie loaded in a mainmovie.

I got help with writing “this.\_lockroot = true” in my loaded movie.  
That solved all problems about visibility and alpha-values in my loaded film.

But there are still problems.  
When I write:  
if (\_root.ta.\_droptarget == “/oa”) {  
r += 1  
}  
it works allright when I run the swf-file seperatly  
but not when it is loaded in the main film. If anyone  
can help me with this i should be very happy.  
Mvh//ditti
