# A goodie!

**URL:** <https://forum.kirupa.com/t/a-goodie/51267>\
**Category:** Uncategorized\
**Created:** [May 11, 2004, 1:29pm UTC](https://forum.kirupa.com/t/a-goodie/51267 "2004-05-11T13:29:30Z")\
**Posts on this page:** 1\
**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 11, 2004, 1:29pm UTC](https://forum.kirupa.com/t/a-goodie/51267/1 "2004-05-11T13:29:30Z")

</div>

any readers i posted in mx thread. got a solution to minor prob. but it seems to be limiting  
heres the code for a movie clip. that intros. and if i rolled over another it would outro before the next movieclip would load.

on (press) {  
if (this.\_currentframe == 1) {  
this.play();  
\_root.goo();  
}  
}  
on (press) {  
if (this.\_currentframe == 1) {  
this.play();  
\_root.foo();  
}  
}

heres the function on scene 1

function foo() {  
if (\_root.fab\_replace.\_currentframe == 17) {  
\_root.fab\_replace.play();  
}  
if (\_root.cut\_replace.\_currentframe == 6) {  
\_root.cut\_replace.play();  
}  
}  
function goo() {  
if (\_root.catasearch.\_currentframe == 10) {  
\_root.catasearch.play();  
}  
if (\_root.createbox.\_currentframe == 10) {  
\_root.createbox.play();

what my problem is, is that within these movieclips i want to have buttons,  
controling other movieclips. all with in the Root.\_functional movie clips.

}
