Container in Anark Studio 2.5

Holds information about the application showing the presentation.

Inherits from:

Instance Properties

name type description
constructor Object A reference to the constructor class for the current object instance. [from Object]
prototype Object The prototype for a class. [from Object]

Instance Methods

name returns description
exit() (none) Quit the application.
hasOwnProperty(propertyOrMethodName) Boolean Determines if the object/instance itself has the named property or method. [from Object]
isPrototypeOf(instanceToTest) Boolean Determines if the calling object prototype is in the inheritance chain for the supplied argument. [from Object]
launch(commandLine,flags) (none) Start a program, open a file.
propertyIsEnumerable(propertyOrMethodName) Boolean Determines if the object/instance itself has a property or method of the supplied name which will appear in a for (prop in obj) enumeration. [from Object]
toLocaleString() String For most objects, the same as toString() unless explicitly overridden. [from Object]
toString() String Returns a string representation of the object. [from Object]
valueOf() String Returns the internal this value of the object. [from Object]

Description

The Container object exposes information about the application that is executing the presentation. The Container object has no constructor because it is always available as the container property of the Player object. Currently two containers are available: ActiveX and AnarkMediaPlayer.

Container Examples

// Make sure the Player is available  
if ( player != null )
{  
	// Make sure the command is available on the container 
	if ( player.containerName == "AnarkPlayer" )  
	{  
		player.container.launch( "Acrobat.exe Data.pdf" , 0 ) 
	}  
}

Properties that are a Container

name object description
container Player (read only) Playback container object.