# Tell target

**URL:** <https://forum.kirupa.com/t/tell-target/7111>\
**Category:** Uncategorized\
**Created:** [October 23, 2002, 11:44pm UTC](https://forum.kirupa.com/t/tell-target/7111 "2002-10-23T23:44:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatmammal](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@fatmammal](https://forum.kirupa.com/u/fatmammal)\
**Post date:** [October 23, 2002, 11:44pm UTC](https://forum.kirupa.com/t/tell-target/7111/1 "2002-10-23T23:44:43Z")

</div>

I have setup a scene with drag menu’s. I have a main one setup and you click the buttons and i want it to load up another drag menu movie clip. I cant get the tell targets to work or a basic goto command to a keyframe which would load the movie on it. I need help real bad…

thanks  
joel

example below i think…

[swf=“[http://pranalabs.com/pl\_services.swf](http://pranalabs.com/pl_services.swf) height=395 width=505”][/swf]

if you have an answer im on AOL instant messanger at  
Fatmammal

i would really appreciate your help…im stuck on this one part…

---

<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:** [October 23, 2002, 11:54pm UTC](https://forum.kirupa.com/t/tell-target/7111/2 "2002-10-23T23:54:13Z")

</div>

are you using Flash 5, or MX?

TellTargets are depricated in Flash 5… :\*(

However, if you must use them, please post your .fla, and I will take a look at it… chances are you have to target the level the mc is loaded into…

Rev:elderly:

---

<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:** [October 24, 2002, 5:21am UTC](https://forum.kirupa.com/t/tell-target/7111/3 "2002-10-24T05:21:13Z")

</div>

the main menu that is shown in the above .swf file with the buttons web development and application design.

When click I want it to open the other movie clip labeled as “dragmenu2”. The actions i have for the button is

on (release) {  
tellTarget ("/dragmenu2") {  
gotoAndPlay (1);  
}  
}

and it doesnt open the movieclip with this error message.

Target not found: Target="/dragmenu2" Base="\_level0.instance13"

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:** [October 24, 2002, 5:25am UTC](https://forum.kirupa.com/t/tell-target/7111/4 "2002-10-24T05:25:08Z")

</div>

The new format for this command as of 5.0 is

on (release) {  
dragmenu2.gotoAndPlay (1);  
}

Given that the movie clip in question has the instance name “dragmenu2” and that it is located on the same timeline as the button that has the script.

---

<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:** [October 24, 2002, 5:25am UTC](https://forum.kirupa.com/t/tell-target/7111/5 "2002-10-24T05:25:50Z")

</div>

without your .fla it is difficult to tell, but judging by the little explaination you gave:

I assume you are loading the dragable movies in a level, correct?

then if you loadmovie into say level 01, you need to target that level:

on (release) {  
tellTarget ("\_level01/dragmenu2") {  
gotoAndPlay (1);  
}  
}

see if that helps…

BTW, swf’s don’t do a lot for me, since I can’t see the code… that’s why I ask for the .fla…

Rev:elderly:

---

<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:** [October 24, 2002, 5:28am UTC](https://forum.kirupa.com/t/tell-target/7111/6 "2002-10-24T05:28:49Z")

</div>

I changed the actions for the rollover to on (release) {  
dragmenu2.gotoAndPlay (1);  
}

and it stopped the error but the movieclip doesn not come up…

---

<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:** [October 24, 2002, 5:31am UTC](https://forum.kirupa.com/t/tell-target/7111/7 "2002-10-24T05:31:08Z")

</div>

that gave me this error

Target not found: Target="\_level01/dragmenu2" Base="\_level0.instance13"

and to be honest with i dont think i know what a level is …

---

<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:** [October 24, 2002, 5:33am UTC](https://forum.kirupa.com/t/tell-target/7111/8 "2002-10-24T05:33:04Z")

</div>

can you post your .fla?

Rev:elderly:

---

<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:** [October 24, 2002, 5:34am UTC](https://forum.kirupa.com/t/tell-target/7111/9 "2002-10-24T05:34:13Z")

</div>

can i email it you…

---

<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:** [October 24, 2002, 5:36am UTC](https://forum.kirupa.com/t/tell-target/7111/10 "2002-10-24T05:36:58Z")

</div>

if it’s under a meg… probably should zip it, if you have winzip…

edited out by reverendflash

I’ll see what I can do…

Rev:elderly:

---

<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:** [October 24, 2002, 5:41am UTC](https://forum.kirupa.com/t/tell-target/7111/11 "2002-10-24T05:41:52Z")

</div>

its sent

---

<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:** [October 24, 2002, 5:59am UTC](https://forum.kirupa.com/t/tell-target/7111/12 "2002-10-24T05:59:54Z")

</div>

Any idea?

---

<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:** [October 24, 2002, 6:04am UTC](https://forum.kirupa.com/t/tell-target/7111/13 "2002-10-24T06:04:44Z")

</div>

okay, for some reason, I couldn’t see your .fla when I tested the movie… ☹

However, I did the attached test file to show what I would do to fix this…

I used LoadMovie to load your dragable menus into level 10. then you can load the new menu in the same menu, and telltarget the main timeline by \_level0 …

I hope this helps,

Rev:elderly:

---

<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:** [October 24, 2002, 6:12am UTC](https://forum.kirupa.com/t/tell-target/7111/14 "2002-10-24T06:12:51Z")

</div>

totally awesome… so what would i put on the drag menu… to close it? if i put an “X” button in the top right corner… What actions would i put?

thanks alot  
joel

---

<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:** [October 24, 2002, 6:14am UTC](https://forum.kirupa.com/t/tell-target/7111/15 "2002-10-24T06:14:03Z")

</div>

by the way is there any way to make the menu pop up not onto of the other… like in a different location?/

---

<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:** [October 24, 2002, 6:14am UTC](https://forum.kirupa.com/t/tell-target/7111/16 "2002-10-24T06:14:27Z")

</div>

you would just use Unload Movie level 10 on a button…

glad it works for you,

Rev:elderly:

---

<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:** [October 24, 2002, 6:15am UTC](https://forum.kirupa.com/t/tell-target/7111/17 "2002-10-24T06:15:35Z")

</div>

nevermind the location one…

---

<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:** [October 24, 2002, 6:20am UTC](https://forum.kirupa.com/t/tell-target/7111/18 "2002-10-24T06:20:57Z")

</div>

You can always load the menus in different levels (I try to use 10, 20, etc. to leave room in case I need to insert something in between)…

BTW, this is really oldschool as far as Flash is concerned… they use really different code now… ☹ I have just started learning the AS for MX…

Rev:elderly:

---

<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:** [October 24, 2002, 6:36am UTC](https://forum.kirupa.com/t/tell-target/7111/19 "2002-10-24T06:36:37Z")

</div>

yea but i mean… when a menu comes up… and i want to close it by putting an “x” on the menu in the top right corner… just like windows…

is there an action that will close the .swf movie?

---

<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:** [October 24, 2002, 6:40am UTC](https://forum.kirupa.com/t/tell-target/7111/20 "2002-10-24T06:40:18Z")

</div>

As I said…

on a button :

on (release) {  
unloadMovieNum (10);  
}

10 being the level the movie is loaded…

Rev:elderly:

[Next page](https://forum.kirupa.com/t/tell-target/7111.md?page=2)
