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. Please see the following files for reference. Any help will be appreciated.
North America
Europe, Middle East and Africa
Asia Pacific