Page Flip Help
This page is for people with technical questions about the PageFlip effect code which I wrote back in 2002. I probably won’t be answering questions very frequently but I encourage everyone to use the Comments area to help each other out.
Download PixelWit’s Free PageFlip: If you don’t have the free version yet, you can click here to download PixelWit’s Free PageFlip Flash file.
Improved PageFlip Now Available: Improved version of the PageFlip implements the most commonly requested features.
Adding Pages: If you want to know how to add more pages or why you get an error saying, “a ‘with’ action failed…”, you can read the tutorial explaining how to add pages.
Resizing Pages: If you want to know how to change the size of the book you can read the tutorial explaining how to resize the pages.
Resizing the Stage and Moving the Book: If you’d like to change the size of the stage and move the book you can read this tutorial explaining how to resize the stage and reposition the PageFlip book.
Transforming the Book: If you want to know how to scale or rotate the book you can read this tutorial explaining how to transform the PageFlip.
Publishing to Newer SWF Versions: If you would like to publish the PageFlip SWF for the version 7.0 Player (or higher) you will need to make a few minor corrections to the file. You can read the tutorial explaining how to publish the PageFlip file to newer versions of the SWF Player.
Changing the Background: If you’re having trouble changing the background color of the PageFlip file, then this brief PageFlip Background Color Tutorial will help you out.
Changing Page Color: If you’d like to change the color of the PageFlip “pages” or “paper”, then this PageFlip Page Color Tutorial will get you headed in the right direction.
Changing the Shadow Gradient: If you’d like to change the shadows that help give the pages a “3D” look, then this PageFlip Shadow Gradient Tutorial should help you tweak the settings.
Multiple PageFlips: If you’d like to place more than one book in a Flash file, then this Multiple PageFlips Tutorial will show you the way.
Start PageFLip Book in Open Position: If you’d like the PageFlip book to start in an open position with 2 pages showing, this tutorial will explain how to Open the PageFlip to Other Pages.
Convert to Read from Right to Left: If you’d like the Page Flipping book to read from right to left, this simple tutorial will explain how to Convert the Page Flip to Read Right to Left.
Why It’s Free: If you want to know why I gave this code away, you can read Something About Sluggy.
Flip History: If you want to know more about various Flash page flip effects you can read the PageFlip page.
Personalized Service: If you need immediate support you can contract my services for a fee. Please Contact Me with specific details regarding your request as well as your budgetary limitations and I’ll be sure to consider your offer.
By Jove, James! Dare we say it, think we’ve cracked it!!
The THREE PAGE FLIP without the button being visible or active on the third page!
Hello Sean,
Here I am, turning up like a bad penny, messing about, messing with, possibly even messing up your Marvellous Code!
Without going into to the tedium of the many, many hours of rather a lot of self deprecating mental torture and abuse, for such a tiny change in your code, I do believe, I’m onto something!
From my earlier posts my options were:
1. Admit defeat , accept my fate, 4 pages or nothing,
2. Plead for you Sean, a very busy man who frankly has no real obligation to help me, to help me
3. or I could really try and find a solution myself,
And there in lies the challenge! So…
First go to Line 29 and change max pages from 8 to 4
Then
Line 328 // What to do when pages are done flipping
this.onEnterFrame = null;
RButton._alpha = 100;
LButton._alpha = 100;
if (curPage != .5) {
LButton._visible = 1;
}
if (curPage != maxPages-1.5) {
RButton._visible = 1;
} else {
RButton._visible = 0;
}
}
And there you have it, a three page flip, invisible inactive button on third page!
For everyone other than Sean reading this please wait until the Man Himself gives it his stamp of approval!
Sean, you truly are a God. With much reverence, worship and respect, please accept this insignificant offering of code from your humblest of disciples who will be so awfully unworthy of any praise you may wish to bestow, however, should this code fail, your humblest of disciples is equally unworthy to accept rebuke or responsibility!
Wishing you a Wonderful Weekend,
Melly The Unworthy
Hi
I just want to ask if there is any possibility to add a button in freeflipbook which will be taking me to page which I want.
I tried everythink but no success yet.
thanks
ChrisP
hello, I use improved page flip and i want to get rid of upper corner buttons or just make them innactive. does anybody now how to do that? thanks a lot for advice, radboo
Oh, never mind. I solved the problem.
Hi,
Thank you for the PageFlip and this great site.
I was hoping you could help me with a problem I’m having.
I changed the size of the book and its direction and everything worked as it should. But when I added pages and wanted to test the movie, the Flash couldn’t make a swf file.
Are you familiar with this problem?
Is there anything I can do to make it work?
Thanx again,
Anita
Hello Pixelwit,
Thank you so much for such a fast response, Wow!
Okay, so I’ve been trying to do some homework of my own on this, and thought the following:
Yes, I can have four pages and I can make the un-required ones invisible!
But, and a big hairy one at that, thought so often forgets to think, and so a new dilemma begins… I’ll mess about with it, mess it all up, and then, I’ll come back and beseech you on bended knees to help me fix it, after all it’s better to be blonde than normal.
Have an excellent week.
Melly
@Melly, The PageFlip requires a minimum of 4 pages, sort of like a piece of paper that’s been folded in half. I can’t think of an easy way to make the code do otherwise. Perhaps just place your content on pages 2 and 3.
@Charly, Here’s how to add an animated GIF to a Flash file.
@Erin, You need at least 4 pages in the Flash PageFlip.
Hi PixelWit,
Firstly I’d like to thank you for not just sharing but helping and persevering with all of us.
Without a doubt you should be sainted for your patience.
I don’t have much in the way of experience with action script, to be honest, if I think something even remotely looks like a maths equation I want to run and hide! Which is why I like your script best, it’s clear, clean and concise and even a dimwit like me can work most of it out without too much brain freezing and it’s positively fantastic if you require a book!
My problems being: I would really like to create just “one” page that turns from left to right.
The bottom (the area the turning page sits on)is wider than the top page (the one page) that turns.
Once this top page has turned it would reveal work (text, pic’s) on the bottom layer and on the other side of turned page.
If your script requires even numbers, would one page that turns be out of the question?
I appreciate how busy you must be doing your own work, to be dealing with mundane questions like mine, but I’d be ever so grateful for your help advice?
Many thanks in advance,
Melly
Hi everybody –
A simple question: Has anybody been able to add a .gif file instead of a .jpg? Is there any way to put a file in the flashbook that has “motion” the way .gif files do? Every time I add a .gif file a static picture shows, i.e. there is no movement whatsoever.
Cheers
i see that there’s a quick tutorial of how to add pages… what about deleting pages? can some one please help me. i am looking to create a single flip over page. just a front and back.
Thanks for all your hard work! Your Page Flip is awesome. Of course I really like the improved version…
THANK YOU!
I really appreciate your work here – very impressive – and willingness to offer some help. Great job done!
CS
Hello all,
I was wondering if somebody could help me. I am using the flip book as a kids book for Bible Stories. However, my niece can’t read so I want it to be narrated. I have been playing around and can’t figure it out at all and going crazy. Basically I want the audio for each page to play after page flip is done. If curPage is .5 I want it to play intro.wav, if curPage is 2.5 I want it to play firstpage.wav … make sense. I thought that if I had this it would work but it doesn’t,
_root.print1.gotoAndStop(2);
}
that is the jest of my code, I have audio on the second frame of the different print movies that is why I have it going to frame 2 in the Print1 movie clip.
Any suggustions anybody, I would appreciate help. Thanks,
Angela
Why didn’t I think of that!!! Thank you for the help… your a god amongst men!
@ndang, You need to place the book inside another clip and then rotate that clip. Here is a tutorial explaining how to rotate and or scale the pageflip.