# \_level and function problem

**URL:** https://forum.kirupa.com/t/-level-and-function-problem/151357
**Category:** Uncategorized
**Created:** [June 15, 2005, 12:23am UTC](https://forum.kirupa.com/t/-level-and-function-problem/151357 "2005-06-15T00:23:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![FlashPlaya](https://avatars.discourse-cdn.com/v4/letter/f/e274bd/32.png) [@FlashPlaya](https://forum.kirupa.com/u/FlashPlaya)
#### Post date: [June 15, 2005, 12:23am UTC](https://forum.kirupa.com/t/-level-and-function-problem/151357/1 "2005-06-15T00:23:29Z")

</div>

I am trying to mute a mp3 player from my \_level0 to the player that is on \_level8 but it can’t find the Var that i set in the player?

here is what I have on my \_level0 btn:

tv.onPress = function() : Void {  
loadMovieNum(“video.swf”, 4);  
video.alphaTo(0,0.5,“easeOutQuad”);

}

I need to add this to “tv.onPress” :  
function disablePlay() {  
playMusic.enabled = false;  
playMusic.\_alpha = 50;  
playMusic.gotoAndStop(1);  
pauseMusic.enabled = true;  
pauseMusic.\_alpha = 100;  
mySound.onID3();  
trackInfo.\_alpha = 100;  
}

but it can’t find the “disablePlay()” in \_level8

thanks guys!!
