Flash.IsEnabled

boolean Flash.IsEnabled ( 

string ObjectName )

Example 1

enabled = Flash.IsEnabled("Animagic");

Stores true in a variable named "enabled" if the "Animagic" Flash object is enabled, and false if it is disabled.

Example 2

bFlash1Enabled = Flash.IsEnabled("Flash1");

Checks whether the "Flash1" Flash object is enabled or disabled, and sets the bFlash1Enabled variable to either true or false, accordingly.

Tip: Starting a variable name with "b" is a technique that programmers use to help themselves remember that a variable contains a boolean value.

See also:  Related Actions