Overview |
Top Previous Next |
After you start creating advanced interactive projects that involves large amount of scripting, you may ask if there is a better way to enter all that script into the objects. Yes, there is. It is called Global VM. There is a reason that this topic comes after VM commands. While Global VM is a higher, more comfortable level of VM scripting, in order to see how all this fit into the place it is important that you already know how a normal VM script is created and how it relate to the object (Menu, Movie...).
When we previously used VM Commands, we had to open each object and then place the command sequence inside them. This is a more visual approach, good for small amount of code.
A Global VM script window can be opened simultaneously with other windows while you are working on the project.
Here is a simplified relationship between the VM Commands and the Global VM
After the Global VM script is Build, it creates VM code and injects it into the Objects. This can be verified later by opening VM Commands of the object.
Some basic rules
The reason for this become quite obvious later when you check the VM code generated by the Global VM. |