Hi,
Is there a way to be notified when the user click on a certain page (Event PageClick = xx).
I'd like to make a button to toggle the view between 100% (normal) and 10% (thumbnails).
In thumbnails view, when a page is clicked this should switch to the normal view and display the clicked page.
I don't know how to do this (how to know wich page was clicked).
It's seems that P2F doesn't have a normal behaviour : I'm in 10% zoom, I scroll down the document until the end (currentPage = 294) but when I switch to zoom 100% the currentPage change back to 1. Is it normal ?
Thanks.
page click event
Re: page click event
You may get a reference to the page movie using getPage Document API function and then attach an event handler to it to track mouse clicks.
See also a sample attached to this thread: http://print2flash.com/forum/viewtopic. ... &t=23&p=80 This sample demonstrates how you can handle clicks on pages (though it does not use getPage function)
See also a sample attached to this thread: http://print2flash.com/forum/viewtopic. ... &t=23&p=80 This sample demonstrates how you can handle clicks on pages (though it does not use getPage function)