|
Quickstart Tutorial |
|
Step 2 - Add a {mdm}Script™ 2.0 Command
With the button selected, expand the Actionscript Syntax Window and enter the following ActionScript:
on(release){
}
We can now insert the appropriate {mdm}Script™ 2.0 Command within the on(release) event. In this case, we want to execute a simple Prompt Dialog. Enter the Syntax as shown in the Movie below:
Your final code should look like this:
on(release){
mdm.Dialogs.prompt("Hello World");
}