Page 1 of 1

Scroll down through the document pages automatically

Posted: Tue Jul 23, 2013 1:19 pm
by marcrock
Is there a way as soon as the flash document appears it starts to scroll down to the following pages automatically with no need to click on the next page button? I was taking a look at the ScrollPane properties and there is one called verticalScrollPosition... would have some way to increase its value using a timer so we can go automatically to the next page before clicking on the next page button?

Thanks in advance.

Re: Scroll down through the document pages automatically

Posted: Tue Jul 23, 2013 3:05 pm
by staff
You may use NextPage Document API function to switch between pages. You may call this function using a timer.

Re: Scroll down through the document pages automatically

Posted: Wed Jul 24, 2013 6:55 am
by marcrock
Nice to know. I just have seen the documents and read all the information about. But the standard template works fine for me, I only would like to use it but adding the function you mentioned, NextPage(); but I didn't see this option nowhere. How can I do that? Use the standard template but adding that function inside its code... I can develop a totally custom viewer after but for now I only would like a quick thing for this client as they're in a hurry. Is there a simple way to do that?

Thank you very much in advance!

Re: Scroll down through the document pages automatically

Posted: Wed Jul 24, 2013 7:30 am
by staff
To implement this approach you may use the standard template. You may load your documents in an HTML page or your own Flash or Flex movie and then invoke NextPage Document API function from there. To learn how to load Print2Flash documents in this way, please see these help topics: Print2Flash SDK contains samples of using of Print2Flash Document API (the samples are located in the DocumentAPI folder of SDK archive).

Re: Scroll down through the document pages automatically

Posted: Wed Jul 24, 2013 8:45 am
by marcrock
That's perfect! This was exactly what I wanted! :-)
Great! Very cool assistance you gave me. Worked at the first attempt and this was what my client needed for now. I'm going to analyze the code for making custom external viewers but this solution you provided me works perfectly for what we're in need now.
Thank you very much!!

Disable printing but the user can still print the document

Posted: Thu Jul 25, 2013 10:09 pm
by marcrock
I have chosen the "Using Print2Flash Document API for ActionScript3 documents from Flash" for making my first work using your software. Everything goes fine now but only one thing is not working properly: I have disabled the capability of user to print when converted my client's document but when I place it online everyone still can print it. As the document is being accessed by a parent flash movie I created maybe I have to add some function on the parent movie also, is that right? Please, let me know what I still have to do so no user can print my client's document.

Regards.

Re: Scroll down through the document pages automatically

Posted: Fri Jul 26, 2013 1:38 am
by staff
Please see this topic for information on this issue: viewtopic.php?f=21&t=8&p=8

Re: Scroll down through the document pages automatically

Posted: Fri Jul 26, 2013 7:00 am
by marcrock
I just have read everything, understood and have passed the information to my client. Thanks a lot by your cool attention and I'll be indicating your system for all my friends that need something related to what your product does, OK?

Best regards.

Re: Scroll down through the document pages automatically

Posted: Fri Jul 26, 2013 9:44 am
by staff
Thank you for your kind words!