The DmxOutwidget controls any DMX device by sending values based on its inputSource to a particular DMX channel. When using DmxOut, you must also run the NETLab MediaControl tool, which receives values from Flash (via the Hub) and translates them into DMX commands using the Enttec DMX USB Pro hardware. The DmxOut value varies from 0 to 255 and can be assigned to any of the 512 DMX channels.

See below for more information on getting started with DMX and the code interface the with DmxOut widget.

Note that older versions of DmxOut (those with the name DmxOutput) included capability to shape the output via an envelop. This functionality has now been moved to a separate processing widget call Envelope.

On Screen Features

  • CONNECT: When on, connects to the MediaControl tool


  • DMX CHANNEL: The DMX channel you want to control, from 1 to 512
  • INPUT SOURCE the instance name of the source the widget listens to, e.g AnalogInput or DigitalInput
  • INVISIBLE: if set to “yes”, the widget will disappear when the Flash movie is run
  • MEDIACONTROL IP: Sets the IP address used to communicate with the MediaControl application – if running on the same machine, it is
  • MEDIACONTROL PORT: Sets the Port used by MediaControl – by default this is 51010

Be sure the MediaControl application is running when using DmxControl. It is best to use the “open dmx faders” panel to check to see if your computer is correctly communicating with your DMX devices. If your DMX device has a master brightness DMX channel, be sure to set it to maximum before adjusting other channels.

MediaControl communicates with DMX devices only through the Enttec DMX USB Pro interface. Before using the Enttec, you must install the drivers on your computer. Once you’ve done that, hook up the Enttec, attach your DMX device(s), and test with the MediaControl dmx faders. When you’ve confirmed that the communication between MediaControl and your DMX devices is working, then use the DmxOutput in Flash.

Thanks to Olaf Matthes for his dmxusbpro MAX/MSP plugin.

Getting Started with DMX

  1. Purchase an Enntec DMX USB Pro (or compatible) interface
  2. Install the FTDI driver (the Entech uses the FTDI chipset for USB) and reboot your computer
  3. Attach the DMX USB Pro via USB, and attach your DMX equipment to the DMX USB Pro (note: you may need a 5 pin to 3 pin DMX adapter if your DMX equipmet uses the 3 pin standard cables).
  4. Open the MediaControl application and make sure your DMX equipment is communicating properly with the computer by using the “dmx faders” pop-up window included in MediaControl.
  5. Start the Hub application
  6. Open Flash and put a DMXOutput widget on the stage. In its parameters, set the DMX Channel you want to communicate on.
  7. Test the Flash movie, and click on the connect button. Move the fader up and down to control your DMX equipment. If necessary, verify in MediaControl that the DMX commands are being received. An indicator will blink each time a command is received.

Code Interface

sendDmx(outputValue:int, dmxChannel:int)

If you want to use ActionScript to control DMX, the widget has a function interface for this. For example, if the DmxOutput widget has an instance name of myDmxInstance, the following format applies:

myDmxOut.sendDmx(98, 2);

Where outputValue is the DMX level from 0-255, and the dmxChannel is 1-512. dmxChannel can be omitted, and the function will default to the last used dmxChannel used by the widget.


Causes the widget to connect to the controller, the same result as using the connect button.



Causes the widget to connect to the controller, the same result as using the connect button.


Last modified March 26th, 2014