Tutorial 6.A. – Add the Show Menu Block Action
What you will learn in this section:
- How to use the Show menu Block action
To begin, we need to make the chapters menu appear when the viewer clicks the “Chapters” button on the main menu. To do this, we will use an Action.
- Click the checkbox next to the Chapters menu in your menu elements tree to make it visible in the Layout Preview window.
- Expand the menu elements view for the Chapters menu using the grey arrow so that you can see the two Sets in the menu block. The sets are called “Chapters 1-5 Set” and “Chapter 6-10 Set “. You can see that each set contains 5 buttons.
- The Chapters menu is laid out horizontally so apply remote control navigation by right clicking the “Chapters 1-5 Set” and selecting “Apply Horizontal Navigation” using the context menu. Do the same for the “Chapters 6-10″ set.
- Expand the menu elements view for the button called “MM Chapters” in the Main Menu using the grey arrow. You will see 6 nodes for the 5 remote control actions that can occur for that button: Enter Key, Up Key, Down Key, Left Key and Right Key, as well as the button’s On Show event.
- Click the Enter Key event to show the Action Editor window in the Control Panel.
- Right-Click in the Action Editor Window to display the Actions list, select Display Actions > Menu Actions > Show Menu Block. The Show Menu Block action will appear in the Actions list.
The Show Menu Block Action has three parameters to set.
- Choose the Chapters menu from the “Menu Block Name” pulldown list.
- Choose “Chapters 1-5 Set” from the “Set Name” pulldown list.
- Choose the button called “Chapter 1″ from the Selected Button pulldown list.
Show me:
Quick Compile and review your project using the softplayer.
By adding this action and setting the parameters you will be able to navigate to the Chapters submenu by clicking the “Chapters” button on the main menu. When the chapters menu appears on screen, you will be able to navigate left and right from the Chapter 1 button to the Chapter 5 button. Notice that when you arrow right from the Chapter 5 button the highlight shifts back to the Chapter 1 button and likewise arrowing left from the Chapter 1 button takes you back to the chapter 5 button.
To access chapter buttons 6-10 we need to author navigation to the 2nd set in the Chapters menu block. We will do that in the next tutorial.