I have the following Flash structure.
Main Timeline
---test_menu (Movie Clip)
------test_menu_sub (Movie Clip)
---------submenu_item (Button)
On Main Timeline (2nd frame), I added this code:
test_menu.test_menu_sub.submenu_item.onPress = function () {
trace("clicked");
}
However, this doesn't work. How do you access a child element or movie clip in actionscript 2? Please see the following files for reference.