Tandem creative build guide

Set up the Local Connect component

What is the Local Connect component?

The Local Connect component allows you to easily link multiple Flash ads. You can use the component to synchronize animation and pass data between two ads so the units work together as a single Tandem creative.

The component uses a standard Flash technology called LocalConnection, which enables two ads to "talk" to each other. Using DoubleClick’s Local Connect component, you can easily set up local connect between two Flash ads without using the API or adding multiple lines of code.

If you're interested in setting up local connect with the API, see the Local Connect API for AS2 or for AS3.

To set up the component:

  1. Drag the Local Connect component to the stage of each unit that you want to connect. As with all standard DoubleClick creatives, each unit must include the Enabler and at least one DoubleClick Exit.
    • You only need to add one component per ad unit.
    • It's important that each ad's instance of the Local Connect component load at the same time so that the units can easily establish a connection. So make sure that, in each creative, you add a Local Connect component where it will load at the same time as the component in your other creatives.
      For example, if you're adding the component to the polite-loaded child FLA in one ad unit, be sure to also add the component to the polite-loaded child FLA in the second ad unit.
  2. In the Properties panel, give every Local Connect component the same instance name. For example, localConnectComponent. We will be making API calls to the component using this instance name.
  3. Set up your parent channel.
    • When setting up Local Connect, you must designate one ad unit as the parent channel and all other units as child channels. For the parent, choose an ad unit that remains on the publisher page at all times.
    • A parent channel is different from the parent file that's used with polite load. The parent channel in Local Connect refers to the entire ad unit, not necessarily a single SWF file.
      To set up your parent channel:
      • Open the Component Inspector for the Local Connect component:

    blue letter a Mode: Select Parent to designate this as the parent channel.

    Timeout: Set the number of seconds the system waits before timing out if the two units can't connect.

    Stop timeline: Check to ensure that one ad doesn't play before all connected ads are loaded.

    Child channels: In the Child channels panel, add the names of all your child channels.

     
  4. Set up your child channel(s).
    • Open the Component Inspector for the Local Connect component:

Mode: Select Child to designate this as the child channel.

Channel name: Give each child channel a name. Be careful to match the names you entered in the Component Inspector for the parent channel.

Timeout: Check Stop Timeline and set the number of seconds the system waits before timing out if the two units can't connect.

Stop timeline: Check Stop Timeline to ensure that one ad doesn't play before all connected ads are loaded.