Little lost in attachMovie.....HELP needed

I have a button inside an MC. When you press the button serveral MC’s with buttons inside will be attached. This all works fine and i can address those MC’s. \r\rThe attached MC’s all have buttons inside. When those buttons are pressed…a new set of MC’s will appear. Now how do i address those MC’s?? \r\rSome code to explain what i am doing: \rI am trying to make a dynamic navigation structure; started by pressing the button and the following code will be executed: \ron (press) { \r// Set y distance between the buttons (dy) \rdy = 30; \rfor (i = 1; i <= 5; i++) { \rattachMovie(“menu”, “menu”+i, i); \r_root[“menu” + i].menu = _root[“menuName” + i]; \r_root[“menu”+i]._x = _root[“menu”+i]._x + 150; \r_root[“menu”+i]._y = _root[“menu”+i]._y + dy; \rdy = dy + 15; \r} \r} \rThis all works fine. \rNow i would like to create a new set of MC’s from the button inside just attached MC’s. I thought it would work like this:\ron (press) { \r// Set y distance between the buttons (dy) \rdy = 30; \rfor (i = 1; i <= 5; i++) { \rattachMovie(“menu2”, “submenu”+i, i); \r_root[“submenu” + i].menu = _root[“submenuName” + i]; \r_root[“submenu”+i]._x = _root[“submenu”+i]._x + 150; \r_root[“submenu”+i]._y = _root[“submenu”+i]._y + dy; \rdy = dy + 15; \r} \r} \r\r\rIt shouldn’t be so hard, but it drives me crazy. \r\rThanks for any responses.

No reply necessary. I found the error by trial & error :slight_smile: