ohvnaq
10-25-2005, 06:21 AM
Hello to all the folks, I'm new here :).
In this first attempt at writing ActionScript of mine, I put a movie clip (instance name "MC3") with several labelled keyframes inside a button (instance name "B2"), which is again inside another movie clip ("MC1") on the main timeline.
Now I want to jump among the keyframes in MC3. I guess this is what I have to do from MC1:
with (_root.MC1.B2.MC3) {
gotoAndPlay("label1");
}
The problem is Flash doesn't seem to recognize MC3 as a valid movie clip instance. I tried clicking the "Insert a target path" button on the script window, which lists all the objects in their hierarchy. _root is there, and MC1 is listed under it, and B2 is listed under MC1, and that's all, no MC3 is listed. Helppp! Did the Grinch steal it from my movie?
Thanks a bunch.
In this first attempt at writing ActionScript of mine, I put a movie clip (instance name "MC3") with several labelled keyframes inside a button (instance name "B2"), which is again inside another movie clip ("MC1") on the main timeline.
Now I want to jump among the keyframes in MC3. I guess this is what I have to do from MC1:
with (_root.MC1.B2.MC3) {
gotoAndPlay("label1");
}
The problem is Flash doesn't seem to recognize MC3 as a valid movie clip instance. I tried clicking the "Insert a target path" button on the script window, which lists all the objects in their hierarchy. _root is there, and MC1 is listed under it, and B2 is listed under MC1, and that's all, no MC3 is listed. Helppp! Did the Grinch steal it from my movie?
Thanks a bunch.