Change PageFlip Page Color

As with all PageFlip tutorials, I recommend downloading the most recent version of the free PageFlip file and following along.

  1. Open the file.
  2. Drag the Timeline indicator to frame #14.
  3. The small cross in the middle of the stage is the Pages movieclip.
  4. Double-click the Pages movieclip to begin editing it.
  5. In the Timeline, select the first frame of the Actions layer.
  6. Open the Actions panel (Menu>Window>Actions).
  7. Go to line #20 in the Actions panel.
  8. Change the "pageColor" variable as needed. For example:
    • White: var pageColor = 0xFFFFFF;
    • Gray: var pageColor = 0x808080;
    • Black: var pageColor = 0x000000;
  9. Test the movie (ctrl:entr).
  10. Save your changes if you like the new page color.

That should do it. Be sure to check the PageFlip Help section if you have any other questions.

3 Responses to “Change PageFlip Page Color”

  1. Zahra
    May 6th, 2008 | 9:34 am

    Hi, could i know which colour channel is used for the pages, so that i could change it to any colour i want!
    and is there anyway i could see the outline of the pages so that i could position the images and header properly looking at the top of the page.

    Thnx

  2. May 7th, 2008 | 1:41 pm

    @Zahra, You can use any color you’d like, Flash’s color picker displays the “hexadecimal” value for the current color. You can read the tutorial explaining how to change page size to learn how to set up a page guide.

  3. AsimpleMan
    September 12th, 2008 | 12:25 pm

    Hello,
    Hi mister PixelWit. I’m sure it’s possible to have a transparency on a part of a page so you can see the next one, but I can’t find it. I’ve tried to set the color page on “transparent”, I’ve changed the alfa of the “beginFill” function, but it’s not working.
    Thx anyway for your great code.

Leave a Reply

PixelWit.com's Comment Guidelines

© Sean O'Shell 2007-2008