# Calling frame labels from another instance

**URL:** https://forum.kirupa.com/t/calling-frame-labels-from-another-instance/12940
**Category:** Uncategorized
**Created:** [February 6, 2003, 2:02pm UTC](https://forum.kirupa.com/t/calling-frame-labels-from-another-instance/12940 "2003-02-06T14:02:01Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![globe](https://avatars.discourse-cdn.com/v4/letter/g/848f3c/32.png) [@globe](https://forum.kirupa.com/u/globe)
#### Post date: [February 6, 2003, 2:02pm UTC](https://forum.kirupa.com/t/calling-frame-labels-from-another-instance/12940/1 "2003-02-06T14:02:01Z")

</div>

What I’m trying to do is, when I click either ENGLISH or CHINESE (buttons), the frame label “credit” will play, and the animation will continue.

However, I just can’t get it to work. Is it because they are in different instances?

[download the fla here](http://sg.geocities.com/xiaoken_sg/home.fla)

☹

---

<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: [February 6, 2003, 2:08pm UTC](https://forum.kirupa.com/t/calling-frame-labels-from-another-instance/12940/2 "2003-02-06T14:08:59Z")

</div>

use [color=red]\_parent.gotoAndPlay(“credits”)[/color] 🙂

---

<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: [February 6, 2003, 2:27pm UTC](https://forum.kirupa.com/t/calling-frame-labels-from-another-instance/12940/3 "2003-02-06T14:27:40Z")

</div>

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: [February 6, 2003, 2:29pm UTC](https://forum.kirupa.com/t/calling-frame-labels-from-another-instance/12940/4 "2003-02-06T14:29:08Z")

</div>

no problem =)

---

<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: [February 6, 2003, 2:37pm UTC](https://forum.kirupa.com/t/calling-frame-labels-from-another-instance/12940/5 "2003-02-06T14:37:17Z")

</div>

I have a qn. Hope you don’t mind.

What if I was trying to call an animation from another instance NOT linked with the call (lang\_text not nested within low\_box).

---

<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: [February 6, 2003, 2:50pm UTC](https://forum.kirupa.com/t/calling-frame-labels-from-another-instance/12940/6 "2003-02-06T14:50:58Z")

</div>

just to avoid any confusions … try to target the movie clip you want to play with the absolute path

for example:  
i told you to use \_parent.gotoAndPlay(“credits”)  
but it would work also if you use \_root.low\_box.gotoAndPlay(“credits”) [size=1][just remember the instance name because you don’t have it in the file i’ve downloaded][/size]

so if you have any problems targetting some movie clip, frame or anything try the absolute path and it should work

hope it helps 🙂

---

<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: [February 6, 2003, 3:14pm UTC](https://forum.kirupa.com/t/calling-frame-labels-from-another-instance/12940/7 "2003-02-06T15:14:21Z")

</div>

I’m sorry, I don’t quite get what you mean by

[just remember the instance name because you don’t have it in the file i’ve downloaded]

I changed

```auto

on (release) {
_parent.gotoAndPlay("credits");
}

```

to

```auto

on (release) {
_root.low_box.gotoAndPlay("credits");
}

```

and it doesn’t work anymore. I think I’ve misunderstood your statement.

---

<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: [February 6, 2003, 3:21pm UTC](https://forum.kirupa.com/t/calling-frame-labels-from-another-instance/12940/8 "2003-02-06T15:21:15Z")

</div>

Oh wait. I got it.

I was confusing instance with the library items.:beam:

---

<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: [February 6, 2003, 3:22pm UTC](https://forum.kirupa.com/t/calling-frame-labels-from-another-instance/12940/9 "2003-02-06T15:22:35Z")

</div>

yep … it doesn’t work because low\_box doesn’t have a instance name

select low\_box and open the properties panel  
you’ll see a little input field with the _instance name_ statement

here’s the file

[size=1]**[EDIT]**  
glad you worked it out =)[/size]
