Flash.GetState

number Flash.GetState ( 

string ObjectName )

Description

Returns the current state of a Flash object.

Parameters

ObjectName

(string) The name of the Flash object.

Returns

(number) The current state of the Flash object:

CONSTANT

VALUE

DESCRIPTION

FLASH_LOADING

0

Loading.

FLASH_UNINITIALIZED

1

Uninitialized.

FLASH_LOADED

2

Loaded.

FLASH_INTERACTIVE

3

Interactive.

FLASH_COMPLETE

4

Complete.

If an error occurs, -1 will be returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions