PDA

View Full Version : attachmovie problem


khonsu77
06-08-2005, 12:28 AM
I have an item linkaged as "menu1". This item has a button "bt1".
When i use

this.onRelease=function(){
this.attachMovie("menu1", "menu1", 10)
}
it woks but I can not use the button!
What is wrong?

Thankyou for your help.

senocular
06-08-2005, 01:24 AM
Movie clips or buttons within movie clips that have button events (like onRelease) wont work. Thats because parent movie clips take precedence in event handling for button events and prevent other button events from working with child clips. Only the topmost parent clip with button events (any button event) will have functioning button events.