Lingo Dictionary > D-F > frameScript

 

frameScript

Syntax

the frameScript

Description

Frame property; contains the unique cast member number of the frame script assigned to the current frame.

The frameScript property can be tested. During a Score recording session, you can also assign a frame script to the current frame by setting the frameScript property.

Example

This statement displays the number of the script assigned to the current frame. In this case, the script number is 25.

put the frameScript
-- 25

Example

This statement makes the script cast member Button responses the frame script for the current frame:

the frameScript = member "Button responses"