Building a slideshow is easy if you understand how to use the Object States panel in InDesign, but there are plenty of details and nuances that aren't immediately evident.
Solution
The Object States panel provides subtle feedback about what it can do for you. Understanding what this panel offers will make your DPS slideshows easier to produce and control.
Additional creative ideas for using the Scrollable Frame option within the Overlay Panel.
Solution
Examples of the using the new Scrollable Frame option within the Overlay Creator panel. Embedded buttons, multi-stack objects, image sequences and more.
Creating InDesign files from scrap for digital (tablet) publications isn't too difficult. But you need to design within certain borders and boundaries, and 'soft proof' your creation constantly.
You need the ability to call JavaScript functions from the Creative Suite SDK (CS SDK) and vice versa.
Solution
In the following code, I'll explain how to use HostObject to communicate between JavaScript and the CS SDK. This will involve embedding your JavaScript in your swf and defining interfaces for communication between the two different contexts. Note, this recipe will not cover using CSXSInterface.evalScript but that is another viable method for communicating from the CS SDK to JavaScript.
Creating InDesign files from scrap for digital (tablet) publications isn't too difficult. But you need to design within certain borders and boundaries, and 'soft proof' your creation constantly.
Additional creative ideas for using the Scrollable Frame option within the Overlay Panel.
Solution
Examples of the using the new Scrollable Frame option within the Overlay Creator panel. Embedded buttons, multi-stack objects, image sequences and more.
When using a ComboBox, the menu for the ComboBox is clipped by the stage. If you need wide menu items, you have little choice by place the ComboBox so that this isn't an issue.
Solution
This example extends a ComboBox to use the NativeMenu class (flash.display.NativeMenu) to display the menu for the ComboBox, eliminating this problem.
UndoModes in InDesign (CS4 and later) allow for multiple steps in a script to be saved as a single step in the undo stack. Using this capability in a CS SDK extension is not very straight-forward because you can't pass in ActionScript code to a doScript. doScript() accepts one of the three scripting languages which ActionScript is not one.
Solution
Use one of the native scripting languages as the argument of the doScript(). There are many ways of approaching this as described below.
This site is produced in partnership with O'Reilly.