# Access actions from another level?

**URL:** <https://forum.kirupa.com/t/access-actions-from-another-level/176120>\
**Category:** flash\
**Created:** [January 20, 2006, 2:26pm UTC](https://forum.kirupa.com/t/access-actions-from-another-level/176120 "2006-01-20T14:26:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bennymartensson](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/bennymartensson/32/1317_2.png) [@bennymartensson](https://forum.kirupa.com/u/bennymartensson)\
**Post date:** [January 20, 2006, 2:26pm UTC](https://forum.kirupa.com/t/access-actions-from-another-level/176120/1 "2006-01-20T14:26:05Z")

</div>

I have a meny loading in at \_level5. A mc (a teaser) that points to a certain button in the meny system loads in at \_level 10 and when this is clicked I need the meny at \_level5 to go to meny1, disable “btn4” and colorTo “btn4”. How do I write the code on the mc at \_level10 to make this happen?

Here´s the code;

Attach Code

for (var i = 1; i\<=8; i++) {  
var rfcBtn = \_root.undermeny1[“btn”+i];  
rfcBtn.ivar = i;  
rfcBtn.onRollOver = over;  
rfcBtn.onRollOut = out;  
rfcBtn.onRelease = function() {  
\_root.rfcBtnPrev.enabled = true;  
\_root.rfcBtnPrev.colorTo (0x000000);  
this.enabled = false;  
\_root.rfcBtnPrev = this;  
\_level0.myMCL.loadClip(“content/gregory/sub”+this.ivar+".swf", 10);  
}  
}
