Global Command

    Lightwing always displays content from one page at a time plus the global page. There is only one global page and the Global command is used to update it. The global page has the special property that it never expires the way regular pages do, so it displays content that persists across page time boundaries. It is used to display text, tickers and/or objects over regular page content without being affected by the time durations of those pages. The global page has no background, page transition or duration time, because it is always drawn over other pages. Otherwise, the Global command accepts the same contents as regular pages, except Jump, call, and return commands can not be used with global page commands. Images and video can be displayed on the global page if they are applied to objects on the global page.

LightwingPowerPointDiagram7

The Global command requires only a page name with no command options and it can be used as often as needed, but should not be used consecutively. Global commands are executed in order just as Page commands are but consume no time. Whenever Lightwing encounters a Global command, it replaces any existing content on the global page with whatever new content is specified and execution immediately proceeds to the next page. Objects, text and video can be removed from the global page by the expiration of their time durations or use another Global command to replace the current one. Global page content is always drawn after content from regular pages, so they will not conflict even if their depth positions overlap.

    Example of a Global Page Update

    global: GlobalPage
          object: Card
          text: OpenSansRegular_50     type: "Hello World!"
          video: OvalCirclesWhiteLoop. lv2

Speed Option

    Defines a speed multiplier for all of the animations on the page, including all objects, text and tickers. This is a convenient way to adjust the speed of an entire page without much editing. This is a floating-point value which must be between 0.01 and 100.0. Values below 1.0 decrease the speed and values above 1.0 will increase the speed.

Touch Option

Defines the polarity for which touch screen events will be recognized for the global page background. Even though the global page has no background image, it can still recognize touch events.    But, touch events for the global page background are always superseded by any other touch events defined for the current page background or any boxes, text, tickers or objects on the current or global page, if they exist.

This parameter can be specified as on, off, both or dir. The default is on. A touch on event means a finger has made contact with the touch screen. A touch off event means a finger has broken contact with the touch screen. Touch both means that both on and off touch events are recognized. This option requires that a jump, call or return option must also be specified for the page command to define the branch page that will be executed when the touch event is detected.

The dir touch option allows one of several branch pages to be selected based on swipe direction. A touch swipe event is when a finger is dragged on the display at least 10% of the width or height of the display and released. The dominate direction of movement at the point of release selects the branch page. One of four swipe directions can be detected, left, right, top and bottom. This requires that either two or four branch pages be defined for the touch branch option for the page. The best practice is to define all four page names, even if only two are actually needed. The dir option can not be used with the return option.

Touch events are not recognized during page transitions.

Single Option

Forces the entire page to always be drawn regardless of whether the player is configured as part of a single or multi-panel display. This parameter can be specified as on or off. The default is off. When this option is enabled, multi-panel rendering is disabled for all the content on this page.

Jump Option

    Defines a branch page to execute when a touch event occurs on the global page background with the correct polarity. The polarity is defined by the touch option. This feature is only available if a supported touch screen is connected to the Lightwing player and configured properly. This option is similar to the Jump command, except that no branch condition options can be used here.

Call Option

    Defines a branch page to execute when a touch event occurs on the global page background with the correct polarity. The polarity is defined by the touch option. This feature is only available if a supported touch screen is connected to the Lightwing player and configured properly. This option is similar to the Call command, except that no branch condition options can be used here.

Return Option

    Defines that a branch page from the call stack will be executed when a touch event occurs on the global page background with the correct polarity. The polarity is defined by the touch option. This feature is only available if a supported touch screen is connected to the Lightwing player and configured properly. This option is similar to the Return command, except that no branch condition options can be used here.

<   Data Command                                           Introduction                                     Input Command   >