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:
[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