{"id":828,"date":"2009-03-02T07:45:22","date_gmt":"2009-03-02T12:45:22","guid":{"rendered":"http:\/\/www.pixelwit.com\/blog\/?p=828"},"modified":"2011-06-12T13:54:36","modified_gmt":"2011-06-12T18:54:36","slug":"pageflip-right-to-left","status":"publish","type":"page","link":"https:\/\/www.pixelwit.com\/blog\/page-flip\/pageflip-right-to-left\/","title":{"rendered":"PageFlip: Right to Left Modification"},"content":{"rendered":"<p>This tutorial explains how to modify the <a href=\"https:\/\/www.pixelwit.com\/blog\/wp-content\/uploads\/2007\/09\/pageflip_notypos.zip\" title=\"DownLoad PixelWit's Free Flash PageFlip File\">Free PageFlip<\/a> or <a href=\"https:\/\/www.pixelwit.com\/blog\/page-flip\/improved-pageflip\/\" title=\"PixelWit's Improved PageFlip\">Improved PageFlip<\/a> so that it reads from right to left.  Follow along in this simple two part process.<\/p>\n<p><a href=\"https:\/\/www.pixelwit.com\/blog\/page-flip\/pageflip-right-to-left\/right-to-left-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\/pageflip-right-to-left\/right-to-left-walkthrough\/\">video walk-through<\/a> illustrating every detail of this &#8220;Right to Left PageFlip&#8221; tutorial.<\/p>\n<p><strong>Part #1) Flip the book movieclip.<\/strong><\/p>\n<ol>\n<li>Open the Pageflip file to display the main timeline.<\/li>\n<li>Drag the Timeline&#8217;s red PlayHead to the last frame of the Actions layer.<\/li>\n<li>Select the small cross in the middle of the stage.  This is the Pages movieclip.<\/li>\n<li>Flip the Pages moviecliip horizontally: Menu \u00bb Modify \u00bb Transform \u00bb Flip Horizontal.<\/li>\n<\/ol>\n<p><strong>Part#2) Modify the code.<\/strong><!--more--><\/p>\n<ol>\n<li>Double-click the Pages movieclip to begin editing its content.<\/li>\n<li>Select the first frame of the Actions layer and open the Actions panel: Menu \u00bb Window \u00bb Actions.<\/li>\n<li>Click the magnifying glass icon in the Actions panel to search through the pageflip code for the following text: <strong>attachMovie(&#8220;print&#8221;<\/strong>.  Be sure the quotation marks are included in the search.<\/li>\n<li>The above text <strong>attachMovie(&#8220;print&#8221;<\/strong> appears in the pageflip code 4 times.<\/li>\n<li>Just below each of those 4 lines of code you&#8217;ll find a movieclip which is being positioned with it&#8217;s _x and _y properties.  You need to set that movieclip&#8217;s _xscale to -100. like so:\n<p>SLPage.attachMovie(&#8220;print&#8221;+(flipPage-1.5), &#8220;Print&#8221;, 1);<br \/>\nwith (SLPage.Print) {<br \/>\n     _x = -pageWi\/2;<br \/>\n     _y = -pivotY;<br \/>\n     <strong>_xscale = -100<\/strong>;<br \/>\n}<\/p>\n<p>Repeat this process wherever <strong>attachMovie(&#8220;print&#8221;<\/strong> is found.<\/li>\n<\/ol>\n<p>That should do it.  Now you can test the movie to see the PageFlip read from right-to-left rather than the usual left-to-right.  Happy Flashing<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial explains how to modify the Free PageFlip or Improved PageFlip so that it reads from right to left. Follow along in this simple two part process. You can watch a video walk-through illustrating every detail of this &#8220;Right to Left PageFlip&#8221; tutorial. Part #1) Flip the book movieclip. Open the Pageflip file to [&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-828","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.pixelwit.com\/blog\/wp-json\/wp\/v2\/pages\/828","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=828"}],"version-history":[{"count":0,"href":"https:\/\/www.pixelwit.com\/blog\/wp-json\/wp\/v2\/pages\/828\/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=828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}