# Loaded movie pathing problem - quick one i promise

**URL:** <https://forum.kirupa.com/t/loaded-movie-pathing-problem-quick-one-i-promise/59143>\
**Category:** Uncategorized\
**Created:** [July 28, 2004, 7:31pm UTC](https://forum.kirupa.com/t/loaded-movie-pathing-problem-quick-one-i-promise/59143 "2004-07-28T19:31:51Z")\
**Posts on this page:** 8\
**Page:** 2

<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:** [July 28, 2004, 10:30pm UTC](https://forum.kirupa.com/t/loaded-movie-pathing-problem-quick-one-i-promise/59143/21 "2004-07-28T22:30:45Z")

</div>

yeah, that works fine. I just want to be able to keep all my coding in 1 place (+ this is just a very basic test). i need the child swfs to call functions etc from the main timeline.

thanks for the reply

---

<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:** [July 28, 2004, 10:41pm UTC](https://forum.kirupa.com/t/loaded-movie-pathing-problem-quick-one-i-promise/59143/22 "2004-07-28T22:41:09Z")

</div>

I moved the following code:

```auto

_root.mcPlaceholder2.butt1.onPress = function(){
_root.mcPlaceholder1.stop();
}

```

from main to that empty layer3 you have on mc2.fla and it works fine. Have to republish mc2 once its moved.

:hr:

---

<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:** [July 28, 2004, 10:41pm UTC](https://forum.kirupa.com/t/loaded-movie-pathing-problem-quick-one-i-promise/59143/23 "2004-07-28T22:41:27Z")

</div>

you should put an mc on the main timeline and add these actions to it:  
onClipEvent (enterFrame) {  
\_root.mcPlaceholder2.butt1.onPress = function() {

```
    _root.mcPlaceholder1.stop();
};

```

}  
then it will work because is checks for press very often this way

---

<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:** [July 28, 2004, 10:43pm UTC](https://forum.kirupa.com/t/loaded-movie-pathing-problem-quick-one-i-promise/59143/24 "2004-07-28T22:43:13Z")

</div>

> [@stringy](#):
>
> [http://www.gifsrus.com/testfile/master.swf](http://www.gifsrus.com/testfile/master.swf)  
> i put a stop action in the first frames of the movies you are loading and then a bytesloaded preloader type thing in master with a command to play() and the button action.

I`ve attached the file if you need it.  
You originally thought this might be a path problem. Because you have used a mc button, if you type trace(this) on the timeline of butt1, it will tell you the path.

---

<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:** [July 28, 2004, 10:43pm UTC](https://forum.kirupa.com/t/loaded-movie-pathing-problem-quick-one-i-promise/59143/25 "2004-07-28T22:43:26Z")

</div>

No I don’t think it will because string is right (and I just noticed kdzines that you want all the actions on the main fla - sorry).

Yes you have to make sure the external swf is fully loaded before your buttons will work but because it starts playing immediately this scenario may not work for you. You might have to put the code on the external swf itself, depending on what you want to be able to do when.

:hr:

---

<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:** [July 28, 2004, 10:46pm UTC](https://forum.kirupa.com/t/loaded-movie-pathing-problem-quick-one-i-promise/59143/26 "2004-07-28T22:46:42Z")

</div>

well with my option all the code will be on a mc in the main fla… but stingy’s option is better… but it was a nice puzzle =)

---

<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:** [July 28, 2004, 10:50pm UTC](https://forum.kirupa.com/t/loaded-movie-pathing-problem-quick-one-i-promise/59143/27 "2004-07-28T22:50:27Z")

</div>

Stringy!!!

thanks matey, that works a treat now. now to apply it to my actual project…

thanks all you guys for getting involved, really appreciate the support!

cheers,

kd

---

<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:** [July 28, 2004, 10:54pm UTC](https://forum.kirupa.com/t/loaded-movie-pathing-problem-quick-one-i-promise/59143/28 "2004-07-28T22:54:35Z")

</div>

> [@kdzines](#):
>
> Stringy!!!
> 
> thanks matey, that works a treat now. now to apply it to my actual project…
> 
> thanks all you guys for getting involved, really appreciate the support!
> 
> cheers,
> 
> kd

welcome

[Previous page](https://forum.kirupa.com/t/loaded-movie-pathing-problem-quick-one-i-promise/59143.md?page=1)
