Calling a function on an interactive object
- To operate on an interactive object that is already present in the layout, select that object’s name in the Objects list. Use the drop-down menu at the top of the list to narrow the list of objects by type.
- Double-click the object’s name to add it to the editing area.
- To see the list of functions that can be called on this particular type of object, choose that object type from the Functions drop-down menu. For example, if you are working with an Animation object, choose Animation.
- Scroll through the Functions list until you find the function you want. To determine what a function does, click its name and look at the description that displays at the bottom of the dialog box. For this type of expression, you usually need a function that does not return a value, so look for function descriptions that do not start with the word “Get.” For example, to start an Animation object playing, choose Animation.Play().
- Double-click the function name to add it to the editing area.
- To verify that you have a valid expression, click Validate. Note that this button merely checks your expression for syntax; a valid expression is not necessarily an expression that does what you want it to.
- Click OK.
Parent topic: Using the Expression Editor dialog box