|
FSCommand Usage |
|
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 3 - FSCommand Syntax (Var)
FSCommands can be used using "literal" parameters or "variables". A literal entry is where the parameters are entered directly into the FSCommand like the example in Step 2. When using literal parameters you cannot change the values during runtime.
Using variables instead of literal values offers more functionality. To use variables, you simply declare a variable first, and then execute the FSCommand in the same manner:

In the example above, the custom message is declared in the variable msg. Notice that the FSCommand Parameter is now referenced to the variable name, and not the literal value.
Also, note that when using variables, you do not need to use the \" characters before and after the FSCommand Parameter(s).
Conclusion
Using either method, export a SWF and compile using Zinc™ v2. When you launch your Projector, the FSCommand will execute a Prompt Dialog.