"onPageChnaged" event not being fired.

Using Print2Flash Document API
Post Reply
Posts: 34
Joined: Thu Oct 31, 2013 8:41 am

"onPageChnaged" event not being fired.

Post by ahsan » Wed Mar 12, 2014 1:10 am

"onPageChnaged" event not being fired. I convert the document with "document setting" of "single file with ActionScript3".

Code: Select all

function onPageChanged(sender, page) {
//this will remove last page visit on first document load
if ((pagecount == 1) && page != 1) {

Posts: 267
Joined: Sat Dec 15, 2007 4:48 pm

Re: "onPageChnaged" event not being fired.

Post by staff » Wed Mar 12, 2014 1:59 am

Please check if Document API is enabled: the Disable Print2Flash Document API Support option in the Protection Tab of Document Options window should not be set.
To get a sample on how onPageChanged event should be hooked on in HTML pages, check an SDK HTML sample demonstrating this (the SDK can be downloaded from our download page at http://print2flash.com/download.php ; the sample is located in the DocumentAPI\HTML folder of SDK archive).
If this does not help, could you send a sample document and HTML page to our support e-mail so that we could check it?

Post Reply