Open PageFlip to Other Pages
Several people have asked how to start the Flash PageFlip SWF with the book initially displaying some page other than the first. Fortunately this is a pretty easy task to accomplish.
Follow the tutorial appropriate for whichever version of the PageFlip you’re using.
Free PageFlip:
- Get the Free Flash PageFlip File.
- Open the file.
- Open the Library panel.
- Open the Book folder.
- Double-click the icon of the Bound Pages clip to begin editing the Bound Pages clip.
- Select the first frame of the Bound Pages clip’s Actions layer.
- Open the Actions Panel.
- Go to line #27 and change the curPage variable to “2.5”. (“2.5” shows pages 2 and 3, “4.5” shows pages 4 and 5, etc.)
- Scroll down to the bottom of the actions panel and paste the following code at the very end of the file:
//
// Force Book to update.
startFlip(-1);
flipRelease();
//
//
// Force Book to update.
startFlip(-1);
flipRelease();
//
//
Improved PageFlip:
- Get the Improved Flash PageFlip File.
- Open the file.
- Select the first occupied frame of the Pages layer (frame #5).
- Drag the selected frame a few frames to the right. This makes sure the pages are loaded before the book is shown in its open state.
- Open the Library panel.
- Open the Book folder.
- Double-click the icon of the Bound Pages clip to begin editing the Bound Pages clip.
- Select the first frame of the Bound Pages clip’s Actions layer.
- Open the Actions Panel.
- Go to line #33 and change “this.CP = .5” to “this.CP = 2.5”. (“2.5” shows pages 2 and 3, “4.5” shows pages 4 and 5, etc.)
- Go to line #32 and change “this.ENP = 2.5″ to this.ENP = 4.5”. (ENP needs to be set to 2 more than CP)
- Publish the file to see the changes. (Menu»Control»TestMovie)
If you get an error saying “A with action failed…” then you need to make sure the pages you want to display are loaded before the book is placed on the stage. Hope it helps.
Good afternoon.
First, I would like to thank you for providing the code necessary to add some flash to any website for a very, very reasonable price. My question is this regarding the improved Page Flip, is there any way an external program can have the file open to a specific page dynamically as opposed to hard-coding the page# in the action settings?
Thanks
Jim Von Dolteren
Hello,
thanks for you flip code.
How do I make an index for this pageFlip?
Thank you,
Angela
FANTASTIC STUFF! Thank you very much for this free page flip. You’ve made my life a heck of a lot easier.
I do have one question:
How to I add a linking button to only certain pages without overlaying the button on my image. Basically I want it to be in the bottom right corner of my background. Does this make sense?
Thanks Again for a fantastic file!
Garrett
Hello,
how can i flip the page to the next page on mouse click? and i need to apply two options to the book.
first option is it’s already have, it’s we can drag the page and turn it, so what i need is i need the code to flip the page on mouse click. Please help me for this.
Thank You,
Anees
@Roel, Andre, and Kyle: Modifying the FLA file so you can click a button and flip to any page is not something I can easily explain in a tutorial. One-click page turning is a feature of the Improved PageFlip.
How can i make buttons and let them flip the book? I not a hero in flash, but how can i do it?
Hello,
thanks for you flip code.
I am trying to make the page flip with a click, instead of pushing manualy the page to the left.
Could you help me? Urgent.
Thanks
Pixelwit,
I’m currently working on a directory page for my booklet. My booklet is similar to a coupon book. It advertises companies and also has numerous other functions that allow one to view commercials, print coupons, and email us about posting an ad.
My co-worker and I are receiving ad requests to no end. Our boss wanted us to add a directory so that a user may instantly jump from a ‘table of contents’ page to a page that may be halfway in the book.
Essentially, we want to be able to jump from page 1 to spread 5-6. Is there any way better than another to accomplish this feat?
Thank you,
Kyle Groft
Hi Kyle
Did you ever get an answer to that question?