# Telltarget swf

**URL:** https://forum.kirupa.com/t/telltarget-swf/12602
**Category:** flash
**Created:** [February 2, 2003, 1:43pm UTC](https://forum.kirupa.com/t/telltarget-swf/12602 "2003-02-02T13:43:44Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![LATO](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@LATO](https://forum.kirupa.com/u/LATO)
#### Post date: [February 2, 2003, 1:43pm UTC](https://forum.kirupa.com/t/telltarget-swf/12602/1 "2003-02-02T13:43:44Z")

</div>

Hi,

How can I control a swf if I load it into another swf? So tellTarget or something but

tellTarget (“container”) {  
stop();  
}

doesn’t work…

Thanx

---

<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 2, 2003, 1:47pm UTC](https://forum.kirupa.com/t/telltarget-swf/12602/2 "2003-02-02T13:47:43Z")

</div>

forget tellTarget (that was flash 5) - try something like this:

```auto
_root.container.yourMC.gotoAndPlay(1);

```

---

<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 2, 2003, 1:54pm UTC](https://forum.kirupa.com/t/telltarget-swf/12602/3 "2003-02-02T13:54:12Z")

</div>

I use this to load the swf:

```php

_root.createEmptyMovieClip("container", 1);
loadMovie("car.swf", "container");
container._x = -100;
container._y = -100;

```

---

<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 2, 2003, 1:56pm UTC](https://forum.kirupa.com/t/telltarget-swf/12602/4 "2003-02-02T13:56:49Z")

</div>

that’s fine…

using **\_root.container.yourMC.gotoAndPlay(1);**

yourMC would be the name of a movieclip inside your car.swf!

---

<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 2, 2003, 2:00pm UTC](https://forum.kirupa.com/t/telltarget-swf/12602/5 "2003-02-02T14:00:12Z")

</div>

Yeah, I know. (duh;))  
But it’s the car.swf that has to be controlled so I deleted .yourMC and it doesn’t 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: [February 2, 2003, 2:03pm UTC](https://forum.kirupa.com/t/telltarget-swf/12602/6 "2003-02-02T14:03:06Z")

</div>

controlled!?  
…in wich way?

would you like to move it around using the arrow keys or something like that!?

---

<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 2, 2003, 2:04pm UTC](https://forum.kirupa.com/t/telltarget-swf/12602/7 "2003-02-02T14:04:43Z")

</div>

next en prevFrame

---

<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 2, 2003, 6:45pm UTC](https://forum.kirupa.com/t/telltarget-swf/12602/8 "2003-02-02T18:45:30Z")

</div>

> \*Originally posted by jerry \*  
> \*\*forget tellTarget (that was flash 5) - try something like this:

```auto
_root.container.yourMC.gotoAndPlay(1);

```

\*\*

Actually tellTarget was Flash 3 and 4 and was deprecated in Flash 5 with the new dot syntax 😉

I believe 5 still used it often because many Flash 5 coders were used to Flash 4 syntax and such. This is just my own theory, I don’t know exactly why so many Flash 5 tutorials use tellTarget instead of the dot syntax version.
