{"id":121,"date":"2007-08-07T23:30:55","date_gmt":"2007-08-08T04:30:55","guid":{"rendered":"http:\/\/www.pixelwit.com\/blog\/page-flip\/change-pageflip-size\/"},"modified":"2011-06-12T13:41:06","modified_gmt":"2011-06-12T18:41:06","slug":"change-pageflip-size","status":"publish","type":"page","link":"https:\/\/www.pixelwit.com\/blog\/page-flip\/change-pageflip-size\/","title":{"rendered":"How to Change Size of Page Flip"},"content":{"rendered":"<p>&#8220;How do you change the dimensions of the pages used in the PageFlip book effect?&#8221; is a common question asked in the <a title=\"Page Flip Tech Section\" href=\"https:\/\/www.pixelwit.com\/blog\/page-flip\/page-flip-help\/\">PageFlip Help<\/a> section of this site.  If you want to know how to resize the book or modify the size of the pages used in the Flash PageFlip effect then this tutorial is for you.<!--more--><\/p>\n<p>To be sure we&#8217;re working with the same file, download the most recent version of the <a title=\"Free Flash PageFlip Source Code\" href=\"https:\/\/www.pixelwit.com\/blog\/wp-content\/uploads\/2007\/09\/pageflip_notypos.zip\">Free Page Flip FLA<\/a>.  The file is a self-contained page flip solution with a SWF Player version-checker, a preloader, each page of the book, and the code that makes it all go.<\/p>\n<p><a href=\"https:\/\/www.pixelwit.com\/blog\/page-flip\/change-pageflip-size\/resize-pages-walkthrough\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.pixelwit.com\/blog\/wp-content\/uploads\/2011\/06\/walkthrough.png\" alt=\"\" title=\"Click to Watch a Video Walkthrough of this PageFlip Tutorial\" width=\"196\" height=\"52\" class=\"alignleft size-full wp-image-1255\" style=\"border:0; padding:0; margin:6px 10px 0 0\" \/><\/a> You can watch a <a title=\"Detailed Step by Step PageFlip Instructions\" href=\"https:\/\/www.pixelwit.com\/blog\/page-flip\/change-pageflip-size\/resize-pages-walkthrough\/\">video walk-through<\/a> illustrating every detail of this &#8220;Change Size of PageFlip&#8221; tutorial.<\/p>\n<p>Changing the book&#8217;s size, requires the modification of two key aspects of the Page flip file.  First you need to change the width and height variables found in the code and then you&#8217;ll need to change the content in the Print clips so everything fits within your new page size.<\/p>\n<p><strong>Modifying the Code:<\/strong><\/p>\n<ol>\n<li>Open the PageFlip.fla file.<\/li>\n<li>Open the Library panel.<\/li>\n<li>Open the Book folder.<\/li>\n<li>Double-click the Bound Pages clip to begin editing it.<\/li>\n<li>Select the first frame of the Actions layer.<\/li>\n<li>Open the Actions panel.<\/li>\n<li>Go to line #16 and change the pageWi variable to the reflect the new width of your page in pixels.<\/li>\n<li>Go to line #17 and change the pageHi variable to the reflect the new height of your page in pixels.<\/li>\n<\/ol>\n<p><strong>Modifying the Print Clips:<\/strong><\/p>\n<ol>\n<li>Open the Library panel.<\/li>\n<li>Open the Book folder.<\/li>\n<li>Open the Printed Pages folder.<\/li>\n<li>Double-click the Print1 clip to begin editing it.<\/li>\n<li>Create a new layer within the Print1 clip called &#8220;Page Bounds&#8221;.<\/li>\n<li>On the Page Bounds layer, draw a rectangle the size of your page.<\/li>\n<li>Align the the rectangle to the center of the stage.<\/li>\n<li>Right-click the Page Bounds layer and turn it into a &#8220;guide&#8221; layer.<\/li>\n<li>Lock the Page Bounds layer and place it at the bottom of the layer stack (if it isn&#8217;t there already).<\/li>\n<li>Add your content to the upper layers being sure it is completely contained within the Page Bounds.<\/li>\n<\/ol>\n<p>Once you&#8217;ve modified the Print1 clip you can either repeat the same steps for all of the other print clips or you can duplicate the Print1 clip and rename it accordingly (Print2, Pint3, etc.) while being sure to retain the proper &#8220;Linkage Identifier&#8221; (print2, print3, etc).<\/p>\n<p>You may need to <a title=\"How to Resize Stage, Change Background and Reposition PageFlip\" href=\"https:\/\/www.pixelwit.com\/blog\/page-flip\/resize-stage-and-move-pageflip\/\">resize the stage and reposition the &#8220;Pages&#8221; clip<\/a> after changing the PageFlip&#8217;s dimensions.<\/p>\n<p>If you&#8217;d like to rotate or scale the Pages clip you should read the <a title=\"Reposition, Rotate, Scale, Transform PageFlip Tutorial\" href=\"https:\/\/www.pixelwit.com\/blog\/page-flip\/reposition-rotate-or-scale-the-pageflip\/\">PageFlip Transformation Tutorial<\/a>.<\/p>\n<p>If you want to change the total number of pages in the book, you can read this article about <a title=\"How to Add Pages to PageFlip\" href=\"https:\/\/www.pixelwit.com\/blog\/page-flip\/add-pages-to-pageflip\/\">adding pages to the PageFlip<\/a>.<\/p>\n<p>Hope it helps.<\/p>\n<p><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"pub-6849630434690366\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\ngoogle_ad_format = \"468x60_as\";\ngoogle_ad_type = \"text\";\n\/\/2007-07-30: DirectInline\ngoogle_ad_channel = \"6157459090\";\ngoogle_color_border = \"FFFFFF\";\ngoogle_color_bg = \"FFFFFF\";\ngoogle_color_link = \"4A4E15\";\ngoogle_color_text = \"6A6F2C\";\ngoogle_color_url = \"9CA163\";\n\/\/-->\n\/\/ --&gt;<\/script><br \/>\n<script src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\" type=\"text\/javascript\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;How do you change the dimensions of the pages used in the PageFlip book effect?&#8221; is a common question asked in the PageFlip Help section of this site. If you want to know how to resize the book or modify the size of the pages used in the Flash PageFlip effect then this tutorial is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":26,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-121","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.pixelwit.com\/blog\/wp-json\/wp\/v2\/pages\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pixelwit.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.pixelwit.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.pixelwit.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pixelwit.com\/blog\/wp-json\/wp\/v2\/comments?post=121"}],"version-history":[{"count":0,"href":"https:\/\/www.pixelwit.com\/blog\/wp-json\/wp\/v2\/pages\/121\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.pixelwit.com\/blog\/wp-json\/wp\/v2\/pages\/26"}],"wp:attachment":[{"href":"https:\/\/www.pixelwit.com\/blog\/wp-json\/wp\/v2\/media?parent=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}