Creating an Extension


 

Step 5

 

Launch Zinc™ v2.5 (if it's not still open already) and exit the Extension Creator. Select the SWF file you created in the previous as the input and then click on the "Extensions" Tab. Click on the "Install Extensions" button at the bottom and select the .zincx created in Step 3. A summary screen will be displayed which shows the information contained within the .zincx file. To install the extension, click on "Install".

 

Once installed, your extension will be listed in the Extensions Window. Ensure that you select the new extension before compiling your projector:

 

 

tutorial_extensions_13

 

 

With the new extension selected, compile a Projector. When the Projector runs, click on the button created in Step 4 and the custom {mdm}Script™ Command will execute a System Beep. In addition, a return value will be sent to the dynamic text box "myResult".

 

This tutorial is a very simple example of how to create a simple custom {mdm}Script™command but very complicated procedures and functions can also be executed.

 

Creating extensions can increase the {mdm}Script™2.0 API by hundreds and can also be shared with other users. Extensions can also be submitted to the MDM Exchange at http://www.multidmedia.com/exchange