Introduction


 

Zinc™ v2 has always offered a powerful and extensive list of Commands for developers to make use of in their Desktop Flash Applications. This list has grown with every new version and build of Zinc™, and occasionally, the manner in which these commands are executed has also evolved.

 

Until recently, all external Flash API's have had to be Asynchronous:

 

FSCommands (Deprecated)

 

In the beginning, all SWF2EXE applications, including Zinc™, used FSCommands. FSCommands worked, but were Asynchronous in execution. This means that FSCommands would not execute in order with Native ActionScript, resulting in developers having to adopt "Coding Tricks" or Frame Loops to achieve the desired results. In addition, FSCommands where over complicated and clumsy to use.

 

{mdm}Script™ (Deprecated)

 

Zinc™ v2 introduced a new Coding API called {mdm}Script™. This new API was the World's First cross platform API for Windows, Mac OSX and even Pocket PC and featured several advantages over FSComamnd Usage including Callbacks and far simpler Command Structure. However, {mdm}Script™ was still Asynchronous in execution and required the occasional "Coding Trick" to maximize it's potential.

 

{mdm}Script™ 2.0

 

Zinc™ v2.5 introduces an all new API for Flash Application Development, called {mdm}Script™ 2.0; {mdm}Script™ 2.0 provides a True Object Orientated Approach to Programming and is integrated directly with ActionScript 1.0 and 2.0. In addition, {mdm}Script™ 2.0 is now completely Synchronous which means that it works as if it were native to the standard Flash API!

 

NOTE: FSCommand and  {mdm}Script™ 1.0 Usage is now deprecated. They are both still available in Zinc™ v2.5 to provide backwards compatibility but should not be exclusively used for new projects. The FSCommand and {mdm}Script™ 1.0 chapters are included as a point of reference on their Implementation. All new Zinc™ v2.5 Projects should be scripted with {mdm}Script™ 2.0.