Brian Milinski 2012 import com.phidgets.*; import com.phidgets.events.*; var phid:PhidgetInterfaceKit; var state:bool; state = true; phid = new PhidgetInterfaceKit; phid.addEventListener(PhidgetEvent.ATTACH, onAttach); phid.open("serverName", 5001); funciton onAttach( phid.setOutputState(0,state); // this will turn on port 0 on the board } ************************************************ number = the port number on the phidget board. bool = the power state.. true or false. NOTE: The webservice must be running for the phidget.The "ServerName" can be set there as well as the port. By default it is 5001 for the model that I am using. Also sending the board true or false directly will result in an error in flash. ************************************************ The board I am using:PhidgetInterfaceKit 0/16/16