Artist Help:Flash MX

From ShowCAD Wiki

This article shows how to connect Artist System Commands to a Flash MX script in an HTML page.

Example Files Artist is supplied with an ActiveX control (WinsckW.ocx) which is used to send commands via Telnet to Artist residing either remotely or on the same computer. Also supplied are an example HTML page (FlashExample.htm) and an example Flash MX object (demo.swf)

Commands Your communication with Artist is via the demo_FSCommand VBScript sub-routine. The first argument is a command string and the second is the commands argument.

"Connect" Makes the connection with Artist. The argument is the IP of the Artist computer e.g. "192.168.0.12" or for the local host "127.0.0.1" "Send" Sends Artist System Commands e.g. "ac3,1,1,2". This will activate cue list 1, cue 1. "Close" Closes the connection with Artist

See Text Commands for commands specifics.

To Try the Example Run Artist

Display Cue List 1

In the Resources Tree view right-click on 'System Control/Artist Telnet Server' and select 'Properties'

Check the 'Enable Listening' box.

double-click on FlashExample.htm

As you click on cues in the HTML window you will see that the cues are activated in Artist. This example is set up to use the local host as an IP address.