Page Flip
The dynamic page flip effect as published on Pixelwit.com in May of 2002:
I've made lots of neat Flash stuff through the years but the interest generated by the PageFlip code has persisted the longest. Though the pace has slowed significantly since its heyday, I still get at least one e-mail a week asking about the PageFlip's use. If you're curious, the original dynamic page flipping source code is available to use as you see fit, free of charge. If you'd like to know how to add more pages or why your "with action" failed, I suggest you read the PageFlip Tutorials.
Although not originally designed as such, the PageFlip file has proven to be an excellent test of one's Flash knowledge. Some of the trickier parts are:
- Finding the book.
- Finding the code.
- Modifying the code.
- Modifying pages.
- Adding pages.
- Understanding the preload structure.
I'm not sure how many people figured everything out on their own, but I can tell you that roughly a billion people contacted me with their questions. I responded to as many e-mails as I could at first but that grew tiresome since most people wouldn't bother to say "thanks" after I took the time to answer their questions. BUT it's important to note that so far about 30 people have gone out of their way to express their appreciation without asking for any favors in return, two have made donations via PayPal and one even went so far as to send me the prettiest looking loaf of pumpernickel bread never to be eaten. You can blame either my particular food preferences or her particular cooking abilities, the jury is still out on that one. Thank you KT wherever you are. 😉
The Flash page flip effect has evolved a good deal since its inception long ago. My first attempt to imitate the turning of a book's page was in March 2002 and it was ugly. Then in early May of the same year I saw the light. Tony Hogqvist of Perfect Fools had combined masking, skewing and alpha gradients to simulate a page "curl" effect so convincing many people believed the image actually curled or warped as it was flipped over. After I learned the visual tricks pioneered by the Perfect Fools page flip, I tried improving their basic concept.
Essentially I took what started out as a timeline based animation and modified it to accommodate a near infinite number of page quantities and sizes by leveraging the features which were only available in the then recently released FlashMX. The new Flash drawing API was used to generate shapes and gradients which in turn were controlled via MX's new dynamic event handlers. I also tweaked the look of the gradient and initial page angle a bit to make the curl look more natural and disposed of the the skewing aspect since it seemed overly complex and added little visually.
My efforts paid off as the code I wrote won a contest on ActionScript.org. As a result, I got a free book of my choosing and a little bit of exposure.
I'm not sure, but I'd like to think my example may have inspired Erik Natzke to make his improved version of the page flip some time later. His version used Trigonometry and inertial easing to create a more interactive and realistic dragging effect.
Some time later, possibly mid 2004, Iparigrafika released a version which added a brand new feature allowing the user to tear away pages and they reintroduced the use of transparent pages which had originally been featured in the Perfect Fools' version of the page flip effect.
I've made all sorts of modifications to the page flip transition for various clients, Hard Covers, One Click Flipping, XML Table of Contents and Odd Page Shapes to name a few. If you have an idea which could be "The Next Big Thing" contact me now to learn how I can help make it happen.
Why I gave it away: Something About Sluggy.
Technical questions: Page Flip Help.
Improved PageFlip: Implements most requested features.
The improved version of PageFlip is just what I needed. Fantastic – and many thanks for your speedy help in tweaking the settings for my project.
(An online book of my photographs and the Page Flip is such a cool way of displaying the images.) Thanks again.
Pixelwit,
i love the improved version of page flip. Thank you very much for all your help with my project, i really appreciate it!
@Tasos, Thanks.
@Gmaxfun, Get the free file at the first link in this story or in the PageFlip Help Section.
@Orla, As you now know, the Improved PageFlip just added a page flipping sound effect. Thanks.
Hello!
thank you so much for sharing this. i got the new version page flip and i was wondering is it possible to play different sound clps on the different pages? i have the sounds in different movieclips on each page but at the moment they all play together when you open the swf.
thank you in advance for any help you can give
Hi
can i get the source code…or a template….i need to create a e magazine…thx
I enjoyed very much using the improved version of page flip. It really saved my project. Pixelwit was very helpfull and kind whenever i needed his support. Many many thanx.
I also enjoyed the “Eels to Urchins” game 🙂
@RL, you can download the file by clicking the first link in this article.
@Mirka, I’m not sure what’s causing the problem. Let me know if you make any progress figuring it out.
PiXelwit, thanks a lot for the script!!!
I have one problem though, please, help me with it if you can. I have created a flip book already and I am trying to import it to the library of another file where I want to place it but gives me an error saying the file is protected or something like that. Don’t you know what’s wrong?
thanks so much!!
Where can I find the code or the download for PageFlip?
Really good job!
Kind regards
okay it’s me again. I really would like to add a short sound effect to each page once it is flipped. Is that possible?
Thank you!
Hi,
you really saved our project!
your generosity and the “open source spirit” kept some people in their jobs, without your site, we would never finish our project in time.
thanks!
hi,
i need an on demand page loading. how is it possible?
Thank you for sharing this!!! All the information on here is so clear and straight forward and complete! It put me in such a good mood that when someone started asking me questions about what I was working on, I really wanted to tell her everything I knew and really help her, because you helped me. Thank you!
Thank you for being so generous, your expertise is highly respected.Thank you.