# Communicating with timelines?

**URL:** <https://forum.kirupa.com/t/communicating-with-timelines/18820>\
**Category:** Uncategorized\
**Created:** [April 21, 2003, 5:21pm UTC](https://forum.kirupa.com/t/communicating-with-timelines/18820 "2003-04-21T17:21:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wecreatethat](https://avatars.discourse-cdn.com/v4/letter/w/f04885/32.png) [@wecreatethat](https://forum.kirupa.com/u/wecreatethat)\
**Post date:** [April 21, 2003, 5:21pm UTC](https://forum.kirupa.com/t/communicating-with-timelines/18820/1 "2003-04-21T17:21:21Z")

</div>

S I M P L E Q U E S T I O N

I have a Movie Clip [Scoll] with a button  
in it with the following code :

gotoAndPlay(1);

But it communicates with the Scoll Movie  
Clip. How do I get it to communicate with  
main movie [home] timeline?

I M P O R T A N T

I can’t use \_root.gotoandplay(1) because  
the Home Movie is already loaded into  
another SWF [Index].

---

<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:** [April 21, 2003, 5:27pm UTC](https://forum.kirupa.com/t/communicating-with-timelines/18820/2 "2003-04-21T17:27:42Z")

</div>

either use \_root.theinstancenameofyourMC.gotoAndPlay(1)  
or i think \_levelX would work

---

<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:** [April 21, 2003, 5:48pm UTC](https://forum.kirupa.com/t/communicating-with-timelines/18820/3 "2003-04-21T17:48:42Z")

</div>

Thanks 4 the quick responce ! ! ! !

I have been playing around with those but they don’t seem to work.

Main.swf  
Home.swf [loaded into a placeholder not level]  
Scoll [movie clip]  
Button [with following script]

on (release) {  
\_root.gotoAndPlay(20);  
}

This of course sends my Main.swf timeline to F20.  
And \_level does the same thing.

It works if I dont load Home.swf into Main.swf

I want the button to tell the timeline of Home.swf to go to F20.

-Thanks ! ! ! ! !

---

<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:** [April 21, 2003, 5:52pm UTC](https://forum.kirupa.com/t/communicating-with-timelines/18820/4 "2003-04-21T17:52:00Z")

</div>

```auto
_root.placeHolder.gotoAndPlay(20);

```

---

<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:** [April 21, 2003, 5:57pm UTC](https://forum.kirupa.com/t/communicating-with-timelines/18820/5 "2003-04-21T17:57:12Z")

</div>

D u h . . . . . thanks man ! ! !

---

<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:** [April 21, 2003, 6:08pm UTC](https://forum.kirupa.com/t/communicating-with-timelines/18820/6 "2003-04-21T18:08:05Z")

</div>

😛

don’t thank me… mlk gave you the right answer since the beginning. 😉
