- Online: Extensions
- Online: Workflow
- Online: Applications
- Online: Automation
- Online: Education
Quark Interactive Designer
Page 7
Now create an action for Object2. Follow these steps:
Click the duplicate button just above the action panel. This will duplicate the action you just created. Because we need to set up Object2, all we need to do is change a couple of options. See figure 15.

Figure 15 Duplicate the Object1 action, and edit it for Object2.
Select no action in the actions panel.
In the action drop-down menu below the actions panel, choose object > slide. Object: Object2. Method: To Sides. Pasteboard: Left. Timing: Duration. Seconds: 3
Finally, we need to trigger the animation.
Click the add new action button above the action panel (it's the button that looks like a
plus sign).
Click on this newly created action in the action panel and in the action drop-down menu, choose animation > play.
For animation, choose TheTraveler.
See figure 16.

Figure 16 Add the animation, TheTraveler.
Now that we have a script, we need to tell the script when to execute. This is where the page tab comes in. This is ultra-easy.
Jump to interactive (palette) > page (tab). Choose page 1 in the page panel. In the entry script drop-down menu, choose the new script we just created, Page_1_Script. See figure 17.

Figure 17 Assign the new script that you created to load on Page 1.
By doing this, we are choosing to execute this script when Page 1 loads up. Check the preview and confirm that all of the motions will happen without user intervention.
Hint 1:
In the page tab, set the entry script to none for Page 1.
Otherwise it will start to load whether you click something or not.
Hint 2:
Edit the click down user event with Object1 or Object2. Instead of using
object > slide action, see what's available under the script actions.
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | PDF Version
If you enjoy our articles, click here to subscribe. |
||
| |
||
Free JavaScripts provided by The JavaScript Source |
||






