Tutorial 5.E. – Author the Play Film button
What you will learn in this section:
- How to add a Play Playlist action
- How to use the Hide the Active Menu Block action
- How to add multiple actions to one button
When the viewer presses the “Play Film” button on the Main Menu, we want the disc to play the Main Video and hide the Main Menu from the screen.
- Expand the menu elements view for the Main Menu using the grey arrow so that you can see the buttons. Expand the view for the button “MM Play Film”. You will see the five remote control events for that button and the button’s On Show event.
- Click the Enter Key event for the button “MM Play Film” to display the Action Editor Window in the Control Panel.
- Right-click in the Action Editor window to display the Actions list. Select Title Playback Actions > Play Playlist. You will see the Play Playlist Action appear in the Actions list.
- Select “Playlist – Main Video” from the “Playlist Name” pulldown list.
You have successfully authored the Play Film button to play the Main Video of the demo project. If you were to Quick compile and review your project now, you would find that the Main Video plays successfully, but the Main Menu stays on screen when the video starts playing. We want the menu to hide automatically when the viewer makes their selection. - Right-click in the Action Editor window to display the Actions list. Select Display Actions > Menu Actions > Hide the Active Menu Block. You will see the Hide the Active Menu Block Action appear in the Actions list below the Play Playlist Action.
The Hide the Active Menu Block Action does not have any parameters to set. It simply hides whatever menu block is currently the active menu block that is tied to the pop-up menu button on the remote control. As we mentioned earlier, the first menu block at the top of the menu tree is always the Active Menu Block by default. In a future tutorial, we will change the Active menu block with an Action, but for now, this action will clear our Main Menu from the screen whenever the Play Film button is pressed.
Quick compile and review your project.
You have successfully authored the navigation for the Main menu, you have added an Action to the Menu Loop Playlist’s start event so the Main Menu will display every time that menu loop is played, and you have authored the Play Film button to start playing the Main Video of the demo project and automatically hide the menu.
In this tutorial you added two Actions to a single button event. You can add an unlimited number of Actions to any event in your project. The Actions will execute in order from top down. You can re-order Actions in your Action Editor window using drag-and-drop.
Next, we are going to author our Chapters menu, which will allow viewers to navigate directly to a chapter point in our Main Video using our menu.