Trigger a channel on click

From DISE KnowledgeBase

Jump to: navigation, search

Overview

New content can be put in a separate channel and then triggered to show based on some condition. In this tutorial, we let a click event on an object trigger a channel. We want to create two DISE Movies and put each in a separate layer (channel). The DISE Movie in the bottom channel will contain a button that when clicked triggers the top channel.

Step by step

In Composer

  • Create a new DISE Movie.
  • Insert an image object which will be our button.
  • Select the object and go to the Interactivity tab.
  • Click Advanced Events.
  • Select When object is clicked and click Add.
  • In the Command dropdown list, select "Start channel"
  • Type in "TriggeredContent" in the Channel name field.
  • Save the DISE Movie as "Button.disemovie".
  • Create a new DISE Movie.
  • In this DISE Movie, insert an Image Object
  • Save the DISE Movie as "Image.disemovie"

In Bridge

  • In DISE Bridge, create a new destination.
  • The TriggeredContent destination will have a "Main" channel.
  • Put the "Button.disemovie" in the Main channel.
  • Create a new channel by selecting Add > Add new channel in the ribbon.
  • Call it "TriggeredContent".
  • Put "Image.disemovie" in the TriggeredContent channel.
  • Send the destination out and play it in DISE Replay

Stop the channel

  • In Image.disemovie, insert an image object that will act as the "close button".
  • Select the object and go to the Interactivity tab.
  • Click Advanced Events.
  • Select When object is clicked and click Add.
  • Select "Stop channel" under Command.
  • Type in "TriggeredContent" in the Channel name field.

Lightbulb.png Note: Remember that a button in a DISE Movie can stop its own channel.

  • Send the destination out again and play it in Replay.