|
{mdm}Script 1.0 Usage - Step 1 |
|
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 1 - Initialize {mdm}Script™
Create a New File in Adobe Flash MX or MX 2004 and select the First Frame of your Movie. Expand the Action Window and enter the following code:
mdminit();
This code is required on the First Frame of EVERY SWF USED IN YOUR PROJECT. The above code initializes the {mdm}Script™ and makes the scripting architecture possible. If this is NOT included, then the commands will not function.