{"id":125,"date":"2007-09-11T03:07:00","date_gmt":"2007-09-11T08:07:00","guid":{"rendered":"http:\/\/www.pixelwit.com\/blog\/reposition-rotate-or-scale-the-pageflip\/"},"modified":"2011-06-12T13:48:37","modified_gmt":"2011-06-12T18:48:37","slug":"reposition-rotate-or-scale-the-pageflip","status":"publish","type":"page","link":"https:\/\/www.pixelwit.com\/blog\/page-flip\/reposition-rotate-or-scale-the-pageflip\/","title":{"rendered":"Reposition, Rotate or Scale the PageFlip"},"content":{"rendered":"<p>I&#8217;m frequently asked how to rotate, scale or otherwise move the PageFlip around on the stage so I decided to write this tutorial explaining how I usually go about transforming the Flash Page Flip effect.<\/p>\n<p><a href=\"https:\/\/www.pixelwit.com\/blog\/page-flip\/reposition-rotate-or-scale-the-pageflip\/transform-pageflip-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\/reposition-rotate-or-scale-the-pageflip\/transform-pageflip-walkthrough\/\">video walk-through<\/a> illustrating every detail of this &#8220;Reposition, Rotate or Scale the PageFlip&#8221; tutorial.<\/p>\n<p>To avoid any confusion, it&#8217;s important that you work with an original version of the <a title=\"ActionScript PageFlip Source Code\" href=\"https:\/\/www.pixelwit.com\/blog\/wp-content\/uploads\/2007\/09\/pageflip_notypos.zip\">Free Page Flip FLA file<\/a> when following this tutorial<!--more-->.<\/p>\n<p>Once you have opened the file in Flash, do the following:<\/p>\n<ol>\n<li>Drag the Timeline&#8217;s red PlayHead to frame #11.<\/li>\n<li>Select the small cross in the middle of the stage.  This is the Pages movieclip.<\/li>\n<li>From the menu choose Modify>>ConvertToSymbol.<\/li>\n<li>In the &#8220;Name&#8221; field type something like &#8220;Book Clip&#8221;, select the &#8220;MovieClip&#8221; option and set the Registration point to the middle of the clip, and then press &#8220;OK&#8221;.<\/li>\n<li>While the new Book Clip is still selected, go to the Properties panel and give it a new instance name like &#8220;MyBook&#8221;.<\/li>\n<li>Double-click the Book Clip to begin editing it.<\/li>\n<li>Create a new layer beneath Layer 1 and name it something like &#8220;Book Bounds&#8221;.<\/li>\n<li>Draw a rectangle on the new Book Bounds layer.<\/li>\n<li>Resize the rectangle so it is the same height as a single page (300) and twice its width (400).  <strong>*<\/strong><em>If you need to change the page width or height you can refer to the <a title=\"Tutorial: How to Change the Size of PageFlip Pages\" href=\"\/blog\/page-flip\/change-pageflip-size\/\">tutorial explaining how to change the page size<\/a><\/em>.<\/li>\n<li>Align the rectangle on the Book Bounds layer to the center of the stage.<\/li>\n<li>Double-click an empty space on the stage to go back to editing the main timeline &#8220;Scene 1&#8221;.<\/li>\n<li>Reposition, rotate or scale the Book Clip as you wish.<\/li>\n<li>Publish the SWF and view the results.<\/li>\n<li>Double-click the Book Clip to edit its content.<\/li>\n<li>Right-click the Book Bounds layer and turn it into a guide layer.<\/li>\n<li>If using the <a title=\"PixelWit's Advanced Page Turner\" href=\"https:\/\/www.pixelwit.com\/blog\/page-flip\/improved-pageflip\/\">Improved PageFlip<\/a>, change the code on the buttons to reflect the new name of the Pages clip (i.e. change &#8220;Pages.turnAhead();&#8221; to &#8220;MyBook.Pages.turnAhead();&#8221;). <\/li>\n<li>Publish the SWF to see the new results.<\/li>\n<\/ol>\n<p>That&#8217;s it.  Now you know how to transform the Book Clip just like any other Flash movieclip.<\/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<\/script><br \/>\n<script type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m frequently asked how to rotate, scale or otherwise move the PageFlip around on the stage so I decided to write this tutorial explaining how I usually go about transforming the Flash Page Flip effect. You can watch a video walk-through illustrating every detail of this &#8220;Reposition, Rotate or Scale the PageFlip&#8221; tutorial. To avoid [&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-125","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.pixelwit.com\/blog\/wp-json\/wp\/v2\/pages\/125","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=125"}],"version-history":[{"count":0,"href":"https:\/\/www.pixelwit.com\/blog\/wp-json\/wp\/v2\/pages\/125\/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=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}