Skip to content

Content Events

Below is a demonstration of how stopping and starting Stages works, as well as the differences

Click the buttons below the display to change the Content.

Cancel all cancelable events

beforecontentchange
contentchange
beforeshotchange
shotchange
beforesequencechange
sequencechange

attributionchange

Indicators will flash when their respective Event type is dispatched. Canceled events will flash red. Monitored events are logged to the console.

Attribution

No licensed assets currently in use.

Plinth → Plinth

Setting a Stage's Content to a Shot when that Shot is already being displayed will dispatch the beforecontentchange and beforeshotchange events but not the contentchange or shotchange events.

Similarly, doing the same with a Sequence will dispatch the beforecontentchange and beforesequencechange events but not the contentchange or sequencechange events.

Plinth ↔ Plinth + params

Even though these are the same Shot, transitioning between them counts as a Content change because the parameters change the composition of the Shot. Thus the shotchange and contentchange events are dispatched.

Content → Reel

Since "Reel" is a Sequence, when it is first displayed it dispatches all events for content, shot and sequence changes. This is because it dispatches the content and sequence events directly and the shot change events are dispatched due to the first Shot of the Sequence being displayed.

If the first Shot of the Sequence happened to be the same as the currently displayed Shot, the shot change events would not be dispatched.

Reel: Shot → Shot

While the Sequence "Reel" is running, each time the Shot transitions the beforeshotchange and shotchange events are dispatched but not the beforecontentchange or contentchange events. This is because the Sequence is considered to be the piece of displayed Content and this remains unchanged as it cycles through its Shots.

Content → Orrery

The Shot "Orrery" uses licensed assets that require attribution to be displayed alongside their use. When the Orrery Shot is displayed or removed from display, an attributionchange event is dispatched. This makes it easy to know when to update the dynamic attribution section.