# \[FMX\] Controlling Movie

**URL:** <https://forum.kirupa.com/t/fmx-controlling-movie/20584>\
**Category:** flash\
**Created:** [May 10, 2003, 6:46pm UTC](https://forum.kirupa.com/t/fmx-controlling-movie/20584 "2003-05-10T18:46:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dizknee](https://avatars.discourse-cdn.com/v4/letter/d/d6d6ee/32.png) [@dizknee](https://forum.kirupa.com/u/dizknee)\
**Post date:** [May 10, 2003, 6:46pm UTC](https://forum.kirupa.com/t/fmx-controlling-movie/20584/1 "2003-05-10T18:46:40Z")

</div>

I know that there are a couple of threads about this, but those are pertaining to sound. What I am looking for is to have one movie call a image to load in the other. For exaple, i have the main movie (MainMovie.swf) and the two sub movies (PicsTOP.swf) and (PicsBOTTOM.swf). PicsTOP loads into a empty MC called “Main” and PicsBOTTOM loads into a empty MC called “SubNav”. Is it possible to, after both movies are loaded, have a user click on a button in PicsBOTTOM and load that picture in PicsTOP? Thanks in advance…

Also, I have a movie that I load into another MC, named (Audio.swf) and this loads into the MC named “SubNav”. In the audio.swf, i have the buttons disabled when u click one, so on the first frame for each button (which is placed inside there own moviecips) i have:

\_root.track1.but1.enabled = true;  
\_root.track2.but2.enabled = true;  
\_root.track3.but3.enabled = true;  
\_root.track4.but4.enabled = true;

and when they click a button, depending on which button, it disables all the other buttons

so if i click on button 4, on frame 2 the code is

\_root.track1.but1.enabled = false;  
\_root.track2.but2.enabled = false;  
\_root.track3.but3.enabled = false;

this works fine standalone, or testing within flash, but for some reason, when the movie is loaded into the main movie, the buttons do not disable. Any suggestions?

---

<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 10, 2003, 7:09pm UTC](https://forum.kirupa.com/t/fmx-controlling-movie/20584/2 "2003-05-10T19:09:05Z")

</div>

about controlling **PicsTOP** from **PicsBOTTOM** simply do something like:

```auto
_parent.PicsTOP.loadMovie("myPic.jpg");

```

and about the other question, this is because you’re using **\_root** , and when you load the movie into another the **\_root** points to the absolute \_root of the movie, meaning the **\_root** of the loader movie… you’d need to use more relative references such as **this** and **\_parent** to point to track1 track2 track3 etc…

---

<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 10, 2003, 7:25pm UTC](https://forum.kirupa.com/t/fmx-controlling-movie/20584/3 "2003-05-10T19:25:27Z")

</div>

ahhhhhhhh… thank u…

---

<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 10, 2003, 9:27pm UTC](https://forum.kirupa.com/t/fmx-controlling-movie/20584/4 "2003-05-10T21:27:37Z")

</div>

nope… the \_parent.PicsTOP thing isnt working… dont know why… but the other stuff is…
