{mdm}Script 1.0 Usage - Step 2


 

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

 

 

Step 2 - {mdm}Script™  Syntax (literal)

 

You can now type your command directly into the Flash Actionscript Syntax Window at any point you require. {mdm}Script™  Syntax resembles standard Adobe Flash Functions; the Command Name, followed by it's parameters:

 

 

       mdm.prompt("Hello World");

 

 

As you can see, the syntax is much shorter and far less complicated than using FSCommands! The Above code would execute a simple Prompt Dialog with the message "Hello World"

 

Continue to Step 3