Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

#1 2007-12-28 17:20:41

PATRA
Member
Registered: 2007-11-10
Posts: 53

Flip pages effect

How you can achive the fliping pages effect clicking a button to make transition look like flipping through a book .
We have create some eBooks and it will be great if we can apply the page flip effect than using-go to the next-previous page button.
How they do it!
There is any good tutorial to help us?

Thanks and have a great new year


My Product Information:
Acrobat Pro 8 / Windows

Offline

 

#2 2007-12-31 11:32:53

pddesigner
Member

Registered: 2007-04-24
Posts: 64

Re: Flip pages effect

If you want the document to be viewed in full screen, but as a courtesy, you want to restore the screen preferences of the user back to the original settings. Place the following script as document JavaScript, it will be executed once and only once upon loading the document.

// Save the settings you plan to change.
var _clickAdvances = app.fs.clickAdvances;
var _defaultTransition = app.fs.defaultTransition;
var _escapeExits = app.fs.escapeExits;

// Change these settings.
app.fs.clickAdvances=true;
app.fs.defaultTransition = "UncoverLeft";
app.fs.escapeExits=true;
// Now, go into full screen.
app.fs.isFullScreen=true;

To restore the settings, place the following code in the Will Close section of the Document JavaScripts, located at Advanced > Document Processing > Set Document Actions.

// Restore the full screen preferences that you changed.
app.fs.clickAdvances = _clickAdvances;
app.fs.defaultTransition = _defaultTransition;
app.fs.escapeExits = _escapeExits;


You can use JavaScript to customize how page transitions occur for any pages within a document. This is accomplished through the Doc object’s setPageTransitions and getPageTransitions methods.

The setPageTransitions method accepts three parameters:

nStart — the zero-based index of the beginning page
nEnd — the zero-based index of the last page
aTrans — a page transition array containing three values:
nDuration — the time a page is displayed before automatically changing
cTransition — the name of the transition to be applied
nTransDuration — the duration in seconds of the transition effect

On the last page you can add a button that will close the eBook.

Offline

 

#3 2008-01-18 06:19:36

mezalto
Member
Registered: 2008-01-18
Posts: 1

Re: Flip pages effect

thanks a lot

Offline

 

#4 2008-01-18 10:06:29

gkaiseril
Member

From: Chicago, IL US
Registered: 2007-05-22
Posts: 1333

Re: Flip pages effect

Just be aware that Acrobat/Reader's full screen does not work within a web browser, so you will not get the page flip affect if your clients are using a web browser.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

AcrobatUsers.com  >>  User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in