Global & Secure Variables


 

Step 1

 

Create a new file in Adobe Flash (or your preferred SWF Authoring tool) and select Frame 1. Create two dynamic text boxes and label one "VarValue" and the other "SecureVarValue". Create a new button on the canvas, and with the button selected, expand the Actions window and enter the following code:

 

 

       on (release){

               SecureVarValue = mdm.Application.getSecureVar("mySecureVar");

               varValue = mdm.GlobalVariables.myVar;

       }

 

 

This Command is used to request Secure variables.

 

Continue to Step 2