Each document page is a MovieClip object composed of text, images, lines and other graphic primitives. The problem is MovieClip seems not to provide a way to enumerate its constituent objects and track clicks on them.
You may obtain a reference to the page movie instance using this undocumented method:
- Code: Select all
var page1=doc.Pages[0].movie
Here the 0 index refers to the first page, the 1 would refer to the second page and so on. Then in principle you can attach an event listener to this object and track clicks on it. But as constituent objects cannot be determined, this seems to allow you to track only the coordinates of the click or the text near the click point.