Understanding Actions and Variables
As you’ve learned in the preceding sections, each element added to your publication (text, pictures, buttons, etc.) is considered an object. In addition to their visual qualities, most types of objects can also be used to perform tasks. These tasks can be as simple as jumping to another page or as complex as calculating a test score. Each object performs its task based on special instructions which tell VisualNEO for Windows what to do – these are called Actions.
Actions assigned to objects are executed in response to specific events, including clicking the mouse, moving the mouse, pressing a key on the keyboard, etc. Not all objects are sensitive to all types of events. For example, Push Buttons can execute Actions when clicked or when the mouse passes over the object, while Timer objects are oblivious to mouse activity.
Pages can contain Actions that execute whenever the reader enters or leaves (see Page Properties). Actions can be assigned to execute in response to specific publication events like Startup and Shutdown (see App Properties). Actions also can be assigned to hypertext links placed inside Simple Text and Article objects.