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:

  1. Get the Free Flash PageFlip File.
  2. Open the file.
  3. Open the Library panel.
  4. Open the Book folder.
  5. Double-click the icon of the Bound Pages clip to begin editing the Bound Pages clip.
  6. Select the first frame of the Bound Pages clip’s Actions layer.
  7. Open the Actions Panel.
  8. 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.)
  9. 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();
//
//

Improved PageFlip:

  1. Get the Improved Flash PageFlip File.
  2. Open the file.
  3. Select the first occupied frame of the Pages layer (frame #5).
  4. 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.
  5. Open the Library panel.
  6. Open the Book folder.
  7. Double-click the icon of the Bound Pages clip to begin editing the Bound Pages clip.
  8. Select the first frame of the Bound Pages clip’s Actions layer.
  9. Open the Actions Panel.
  10. 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.)
  11. 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)
  12. 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.

9 Responses to “Open PageFlip to Other Pages”

  1. Jim Von Dolteren says:

    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

  2. Angela says:

    Hello,
    thanks for you flip code.
    How do I make an index for this pageFlip?

    Thank you,

    Angela

  3. Garrett says:

    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

  4. Ans says:

    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

  5. Pixelwit says:

    @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.

  6. Roel says:

    How can i make buttons and let them flip the book? I not a hero in flash, but how can i do it?

  7. 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

  8. Kyle Groft says:

    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

Leave a Reply to Angela

PixelWit.com's Comment Guidelines


Warning: Undefined variable $user_ID in /home2/pixelwit/public_html/blog/wp-content/themes/fvariant2/comments.php on line 57

You must be logged in to post a comment.

© Sean O'Shell 2007-2024