# OnPress, tell target and with

**URL:** <https://forum.kirupa.com/t/onpress-tell-target-and-with/24199>\
**Category:** Uncategorized\
**Created:** [June 27, 2003, 3:40am UTC](https://forum.kirupa.com/t/onpress-tell-target-and-with/24199 "2003-06-27T03:40:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sggk](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@sggk](https://forum.kirupa.com/u/sggk)\
**Post date:** [June 27, 2003, 3:40am UTC](https://forum.kirupa.com/t/onpress-tell-target-and-with/24199/1 "2003-06-27T03:40:03Z")

</div>

I have a question about using tell target …

I have a plane (graphics) on the main timeline and I have placed some 2 movie clips on it. (say mcA and mcB). What I want is when I press on mcA, mcB will display a particular frame and stop.

I have used  
‘OnPress’ in mcA and ‘with(mcB){…’  
but its not working. I wonder if I can use tell target instead … Since mcA and mcB are on a plane (graphics) but not a movieclip, can I do something like  
'tellTarget("/plane/mcA")???

---

<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:** [June 27, 2003, 3:58am UTC](https://forum.kirupa.com/t/onpress-tell-target-and-with/24199/2 "2003-06-27T03:58:56Z")

</div>

Can u post the fla and tell wat exactly ur trying to do?  
🙂

---

<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:** [June 27, 2003, 6:33am UTC](https://forum.kirupa.com/t/onpress-tell-target-and-with/24199/3 "2003-06-27T06:33:20Z")

</div>

At work at the moment, I will post the fla a bit later today. Thanks in advance. 🙂

---

<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:** [June 27, 2003, 9:21am UTC](https://forum.kirupa.com/t/onpress-tell-target-and-with/24199/4 "2003-06-27T09:21:54Z")

</div>

You don’t need to use tellTarget anymore in MX, it’s been deprecated… You should be able to use standard dot notation to target your movie clips. eg: \_root.mymovie.clip

---

<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:** [June 27, 2003, 6:12pm UTC](https://forum.kirupa.com/t/onpress-tell-target-and-with/24199/5 "2003-06-27T18:12:25Z")

</div>

Thank you all, both methods works for me.  
In fact what I missing was a “/” 😛
