# Newbie Button Question

**URL:** <https://forum.kirupa.com/t/newbie-button-question/4467>\
**Category:** flash\
**Created:** [August 10, 2002, 6:49pm UTC](https://forum.kirupa.com/t/newbie-button-question/4467 "2002-08-10T18:49:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RageW0lf](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@RageW0lf](https://forum.kirupa.com/u/RageW0lf)\
**Post date:** [August 10, 2002, 6:49pm UTC](https://forum.kirupa.com/t/newbie-button-question/4467/1 "2002-08-10T18:49:03Z")

</div>

I am trying to control a movie clip symbol within a button.  
The movie clip instance is named within the button and starts on the “Over” section.  
I want to control it from the button instance - ie. using roll over, roll off etc.  
Using dot notation I tried :

```php
on (rollOver) {
    tellTarget ("_root.buttonname.movielcipname") {
        gotoAndStop (2);
    }
}

```

I can’t get it to work, what am I doing wrong?

---

<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:** [August 10, 2002, 7:33pm UTC](https://forum.kirupa.com/t/newbie-button-question/4467/2 "2002-08-10T19:33:49Z")

</div>

You can’t target a button (Flash5.0) so you can’t create a path to a movie clip inside a button.

Take the movie clip out… place a stop(); action where you want it paused, and then call out to it with the button and dot notation.

---

<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:** [August 11, 2002, 2:49am UTC](https://forum.kirupa.com/t/newbie-button-question/4467/3 "2002-08-11T02:49:03Z")

</div>

and, if you’re actually using Flash MX, then…

on (rollOver) {  
\_root.buttonname.movielcipname.gotoAndStop (2);

}
