# Question about Timeline control!

**URL:** <https://forum.kirupa.com/t/question-about-timeline-control/242921>\
**Category:** flash\
**Created:** [October 31, 2007, 6:35pm UTC](https://forum.kirupa.com/t/question-about-timeline-control/242921 "2007-10-31T18:35:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scorpion\_Blood](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/scorpion_blood/32/3537_2.png) [@Scorpion\_Blood](https://forum.kirupa.com/u/Scorpion_Blood)\
**Post date:** [October 31, 2007, 6:35pm UTC](https://forum.kirupa.com/t/question-about-timeline-control/242921/1 "2007-10-31T18:35:34Z")

</div>

I’ve seen a lot of people questioning about this and many answers but none was explicit for me, also, im nearly new to AS3 and this way we are always learning from the people that knows this things 🙂 trying to be a guru hehe

anyway, since my english is a bit rusty, i’ve made a image showing an example structure, here:

![](http://img105.imageshack.us/img105/5062/tlineiu7.jpg)  
[SIZE=1].in **frame1** there is a movieclip called **mc1** , inside it theres a movieclip called **mc2** and so on.[/SIZE]

and here are my questions:

1• How can I control the main **timeline** (the one above the **mc1** and **mc5** , that has 2 frames, calling from the **mc4**?  
**[COLOR=Blue]eg[/COLOR]**. I’ve created a button in mc4, and when i click it, i want to gotoAndStop() the frame2 in the main **timeline** ;

2• How can i access a **variable** that was declared in **frame1** (in the timeline)?  
**[COLOR=Blue]eg[/COLOR]**. Inside mc6, i have a button and a dynamic textfield, when i press the button, it will fill the textbox with “sweetsugar”, that was declared in frame1 (var sSomething:String = “sweetsugar”;

3• This sound pretty like the 1st question, anyway, how can i control the **timeline** of **mc7** from **mc8**?  
**[COLOR=Blue]eg[/COLOR]**. In **frame2** there is a movieclip( **mc5** ), inside it there are more two movieclips ( **mc6** and **mc7** ), so inside **mc8** there’s a button, when i click it it will do **gotoAndPlay(2)** in **mc7** ;

hope this clarify all things how this stuff works, also, if you think that my questions are confuse please tell me and i will try to clarify better 🙂

also thanks in advance 😉 putted some effort in this questions lol 😉
