Flash.GetState

number Flash.GetState ( 

string ObjectName )

Example 1

intro_state = Flash.GetState("Flash Intro");

Gets the current state of the Flash object named "Flash Intro" and stores it in the intro_state variable.

Example 2

if Flash.GetState("Flash Intro") == FLASH_LOADING then Debug.Print("\r\nLoading Flash file...") end

Prints "Loading Flash file..." to the debug window if the Flash object named "Flash Intro" is currently loading a file.

See also:  Related Actions