Lingo Dictionary > O-R > runMode |
![]() ![]() ![]() |
runMode
Syntax
the runMode
Description
Function; returns a string indicating the mode in which the movie is playing. Possible values are as follows:
![]() |
|
![]() |
|
![]() |
|
![]() |
|
The safest way to test for particular values in this property is to use the contains
operator. This helps avoid errors and allows partial matches.
Example
This statement determines whether or not external parameters are available and obtains them if they are:
if the runMode contains "Plugin" then -- decode the embed parameter if externalParamName(swURL) = swURL then put externalParamValue(swURL) into myVariable end if end if
See also
![]() ![]() ![]() |