Container in Anark Studio 2.5
Holds information about the application showing the presentation.
Inherits from:
Instance Properties
| name | type | description |
|---|---|---|
| prototype | Object | The prototype for a class. [from Object] |
| constructor | Object | A reference to the constructor class for the current object instance. [from Object] |
Instance Methods
| name | returns | description |
|---|---|---|
| toLocaleString() | String |
For most objects, the same as toString() unless explicitly overridden.
[from Object]
|
| valueOf() | String |
Returns the internal this value of the object.
[from Object]
|
| hasOwnProperty() | Boolean | Determines if the object/instance itself has the named property or method. [from Object] |
| isPrototypeOf() | Boolean | Determines if the calling object prototype is in the inheritance chain for the supplied argument. [from Object] |
| propertyIsEnumerable() | 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]
|
| launch() | (none) | Start a program, open a file. |
| exit() | (none) | Quit the application. |
| toString() | String | Returns a string representation 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 )
}
}