beautypg.com

Classes, Object and class name syntax, Zones – BrightSign Object Reference Manual (FW 5.1) User Manual

Page 11

background image

3

Classes

A "class name" is used to create a BrightScript object. For example, the class name for a video playback instance is
roVideoPlayer, so, to initialize a video playback instance, you would use code similar to the following:
video = CreateObject("roVideoPlayer")

Note that “video” can be any name that follows the syntax outlined in the next section.

Object and Class Name Syntax

Class names have the following characteristics:

Must start with an alphabetic character (a – z).

May consist of alphabetic characters, numbers, or the "_" (i.e. underscore) symbol.

Are not case sensitive.

May be of any reasonable length.

Zones

With the BrightSign Zones feature, you can divide the screen into rectangles and play different content in each rectangle.

Depending on the BrightSign model, zones can contain video, images, HTML content, audio, a clock, or text. There can
be only one video zone per screen for all HD and LS models. However, there can be multiple zones of other types on the
screen. A text zone can contain simple text strings or can be configured to display an RSS feed in a ticker-type display.

To enable zone functionality, the following global function must be called in the script:

EnableZoneSupport(enable As Boolean) As Void