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
// 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.
My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.