4.0

Table Of Contents
Action Script is a great time-saving tool that lets you turn .psd files into DoStudio Authoring templates;
however, it is intended for use by experienced authors.
Mosaic Action Scripts are contained in the .psd file layer names. In Mosaic 2.0, you can create special
layers without any graphics that just contain Mosaic Action Scripts in the layer name without any graphics
in the layer. This makes it easy to reuse the action script layers from one file to the next – you simply copy
the layers into a new .psd file.
Adding Mosaic Action Script to buttons
To add an action script to a button, create a group in your .psd file with the prefix as: and the name of the
button you would like to add the action script to. For example, as: MMPlay Film. This will add action scripts
to the button called MM Play Film.
Next, add layers inside the group that include the action script shorthand. You can specify whether to add
the action to the Enter, Up, Down, Left, or Right event for the button by using the following prefixes:
n enter:
n up:
n down:
n left:
n right:
If you want to add more than one action to a button event, separate the actions with the pipe symbol (|).
Separate action parameters with the tilde symbol (~).
For example, let's add two actions to the Enter event for the button called MM Play Film. We'll add a Clear
Menu Blocks from Screen action and a Play Chapter action that plays Playlist 1, Segment 1, Chapter 2. To
do this our layer would look like this: enter: CA | PLC=PL:Playlist 1~2D:Segment 1~CH:Chapter 2.
Adding remote control navigation to menu sets
To add remote control navigation to a menu set with action script, create a group in your .psd file with the
prefix ng: and the name of the set to which you would like to add the action script. Then add the pipe
symbol (|) and either horizontal or vertical to add horizontal or vertical navigation. For example, ng:
IMPORTING MENU GRAPHICS IN MOSAIC89