Description

In PubCoder, Controllers are special objects that allow you to control the behavior of your page in an advanced way. Controllers are usually invisible to the end user in the layout, with the exception of the smart object - since it allows to insert custom code, what is visible or not depends upon the code it contains.

controllers

Though invisible, controllers are objects that have to be placed on the stage.

Generic Properties

Controllers are really different among them, so they share really few generic properties, but each of them also has its own specific properties, see the various help pages for the different controllers for more informations. To edit properties of a controller object, select it and use the selection inspector at the right of your project window.

Include In One between All Formats, No Formats or Some Formats. Selecting the last options will allow to select indivisual formats. Object will be completely skipped when exporting in a format in which it is not being included. This allows to exclude objects not compatible with a specific format and to use different objects for different formats. This property of course defaults to All Formats.
X The horizontal pixels coordinate from the top-left of the page to the point of origin of the object (which usually is top-left too, but can be changed in the stage toolbar)
Y The vertical pixels coordinate from the top-left of the page to the point of origin of the object (which usually is top-left too, but can be changed in the stage toolbar)

Events

To edit event handlers for a controller, select it and use the Interactivity Panel on the right side of the project window. Each controller provides its own events, see the help page for each controller for more informations. Anyway, all controllers share at least the following Generic Events: Load, Shake, Read Aloud Started, Read Aloud Stopped, Scroll Page

Actions

Each controller can be used as target of some actions, but there are no actions in common to all of them.