# Mx actionscript, hungry for a challenge?

**URL:** https://forum.kirupa.com/t/mx-actionscript-hungry-for-a-challenge/50532
**Category:** flash
**Created:** [May 4, 2004, 2:53am UTC](https://forum.kirupa.com/t/mx-actionscript-hungry-for-a-challenge/50532 "2004-05-04T02:53:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![brndn](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@brndn](https://forum.kirupa.com/u/brndn)
#### Post date: [May 4, 2004, 2:53am UTC](https://forum.kirupa.com/t/mx-actionscript-hungry-for-a-challenge/50532/1 "2004-05-04T02:53:13Z")

</div>

if any one can help me? I am trying to activate a specific frame in a movie clip, using a button within another movieclip? all in the same scene  
my action scripting is feeble at best. here it is.  
Im prety sure my method is not correct.

on (press) {  
toolbox.onpress = function() {  
};  
gotoAndPlay(2);  
}

toolbox is the instance name.???  
any expertise would behelpful!!

* * *

- 

-

---

<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: [May 4, 2004, 10:31am UTC](https://forum.kirupa.com/t/mx-actionscript-hungry-for-a-challenge/50532/2 "2004-05-04T10:31:59Z")

</div>

Let’s say you have 2 clips on your scene, mc1 and mc2, and mc1 contains a button called myButton. You’d have to put something like this on the frame:

```auto
mc1.myButton.onPress = function () {
    mc2.gotoAndPlay (2) ;
} ;

```
