AutoPlay Media Studio 9

Video.IsEnabled

Video.IsEnabled

This is the first topic This is the last topic  

Video.IsEnabled

This is the first topic This is the last topic  

OverviewExamples

boolean Video.IsEnabled (

string ObjectName )

Example 1

intro_video_enabled = Video.IsEnabled("Intro Video");

Stores true in a variable named "intro_video_enabled" if the "Intro Video" video object is enabled, and false if it is disabled.

Example 2

bVideo2Enabled = Video.IsEnabled("Video2");

Checks whether the "Video2" video object is enabled or disabled, and sets the "bVideo2Enabled" 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


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us