Syntax: Opus Objects

Objects are the basis of the OpusScript programming language. Anything that you can add to a page in an Opus publication, such as, a button, image, sound or timeline is an object. Each of these objects can be referenced in OpusScript via their name, as it appears in the Organiser.

Syntax:

objectName.function

Remarks:

objectName – The name of the object as it appears in the Organiser. The objectName must NOT be surrounded by quotes.

period/full stop – The period or full stop ( . ) is very important because it separates the object name from the function name or property name.

function - The name of the function you want to apply to the object. This will either be your own function or one of the OpusScript functions.

image\Script_Button.jpgExamples