# Loading movies and communication

**URL:** <https://forum.kirupa.com/t/loading-movies-and-communication/94033>\
**Category:** Uncategorized\
**Created:** [November 7, 2003, 5:44pm UTC](https://forum.kirupa.com/t/loading-movies-and-communication/94033 "2003-11-07T17:44:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jondj24](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jondj24](https://forum.kirupa.com/u/jondj24)\
**Post date:** [November 7, 2003, 5:44pm UTC](https://forum.kirupa.com/t/loading-movies-and-communication/94033/1 "2003-11-07T17:44:09Z")

</div>

READ JESSE’s POST and now i am and want to make a difference:

i am trying to create a system where 3 buttons open external loaded movies and when button 1 is pressed, it opens movie 1  
and when button 2 is pressed, movie 1 reverses its action and then unloads, and movie 2 loads. my problem is that i have  
buttons 1 and 2 work fine with each other, but the third button isn’t talking to the other 2 buttons correctly and they are all using the same script. i don’t understand how this could go wrong.

script for button 1:

```auto

on (release) {
    loadMovieNum("movie1a.swf", 2);
    if (_level3.line2_mc._currentframe == 5) {
        tellTarget (_level3.line2_mc) {
            gotoAndPlay(6);
            loadMovieNum("movie1a.swf", 2);
        }
        if (_level4.movie3line_mc._currentframe == 5) {
            tellTarget (_level4.movie3line_mc) {
                gotoAndPlay(6);
                loadMovieNum("movie1a.swf", 2);
            }
        }
    }
}

```

the script for buttons 2 & 3 are the same but of course button 1 talks to 2&3,  
and button 2 talks to 1 & 3 and button 3 talks to 1 & 2 (so the names change)

the movie is attached to this email.

thanks and please help.  
jondj24
