{"id":283,"date":"2012-05-16T13:52:53","date_gmt":"2012-05-16T19:52:53","guid":{"rendered":"http:\/\/www.shscomputers.com\/wordpress\/?page_id=283"},"modified":"2016-11-28T10:55:56","modified_gmt":"2016-11-28T17:55:56","slug":"shape-tweening","status":"publish","type":"page","link":"https:\/\/www.shscomputers.com\/wordpress\/?page_id=283","title":{"rendered":"Shape Tweening"},"content":{"rendered":"<h2>How to use Shape Tween in Flash<\/h2>\n<p>Tutorial adapted from Flashtutor.org, and Adobe.com Flash Help files.<\/p>\n<p>Shape tween is an animation that involves transformation of one shape to another. You\u2019ll learn how to create the flash animation below.\u00a0In shape tweening, you draw a vector shape at one specific frame in the Timeline, and change that shape or draw another shape at another specific frame. Flash Professional then interpolates the intermediate shapes for the frames in between, creating the animation of one shape morphing into another.<\/p>\n<p><object width=\"400\" height=\"200\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\"><param name=\"src\" value=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/shape-tween.swf\" \/><param name=\"pluginspage\" value=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" \/><param name=\"allowscriptaccess\" value=\"always\" \/><param name=\"quality\" value=\"high\" \/><embed width=\"400\" height=\"200\" type=\"application\/x-shockwave-flash\" src=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/shape-tween.swf\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" allowscriptaccess=\"always\" quality=\"high\" \/><\/object><\/p>\n<p>Firstly, draw a circle using the Oval tool. Now we\u2019ll try converting the frame to a shape tween.<\/p>\n<p>Let\u2019s click on the 1st frame.<\/p>\n<p><a href=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/select1stframe.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-291\" title=\"select1stframe\" src=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/select1stframe.jpg\" alt=\"\" width=\"145\" height=\"129\" \/><\/a><\/p>\n<p>Select frame 10 of the same layer and add a blank keyframe by choosing Insert &gt; Timeline &gt; Blank Keyframe or pressing F7.<\/p>\n<p><a href=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/shapetweenf7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-293\" title=\"shapetweenf7\" src=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/shapetweenf7.jpg\" alt=\"\" width=\"280\" height=\"132\" \/><\/a><\/p>\n<p>Now you are supposed to draw the rectangle. But, you probably can\u2019t place the rectangle in perfect alignment with the circle, because you can\u2019t see it. A nice feature called \u201cOnion Skin\u201d in Flash can help you view frames before or after a selected frame. You can use Onion Skin to align your rectangle with the circle.<\/p>\n<p><a href=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/onion_skin_icon.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-288\" title=\"onion_skin_icon\" src=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/onion_skin_icon.jpg\" alt=\"\" width=\"171\" height=\"127\" \/><\/a><\/p>\n<p>Make sure the last frame is selected. Then, click on the onion skin icon. You can\u2019t see the circle\u2019s \u201cshadow\u201d yet, this is because the onion skin did not affect the frame where the circle is placed in.<\/p>\n<p><a href=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/onionskinboxa.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-290\" title=\"onionskinboxa\" src=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/onionskinboxa.jpg\" alt=\"\" width=\"114\" height=\"58\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>So, we\u2019ll drag the onion skin box located above the frames to encompass all frames.<\/p>\n<p><a href=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/onionskinbox.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-289\" title=\"onionskinbox\" src=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/onionskinbox.jpg\" alt=\"\" width=\"112\" height=\"64\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>The circle\u2019s semi transparent shadow should now show on the stage of the last frame.<\/p>\n<p><a href=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/circle_shadow.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-287\" title=\"circle_shadow\" src=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/circle_shadow.jpg\" alt=\"\" width=\"84\" height=\"72\" \/><\/a>Now you can draw a rectangle on the stage, it should be positioned close to the circle.<\/p>\n<p><a href=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/shapetweensquare.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-294\" title=\"shapetweensquare\" src=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/shapetweensquare.jpg\" alt=\"\" width=\"102\" height=\"68\" srcset=\"https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/shapetweensquare.jpg 102w, https:\/\/www.shscomputers.com\/wordpress\/wp-content\/uploads\/2012\/05\/shapetweensquare-100x68.jpg 100w\" sizes=\"auto, (max-width: 102px) 100vw, 102px\" \/><\/a><\/p>\n<p>Right-Click on Frame one and choose &#8220;Create Shape Tween&#8221;. Preview your movie.<\/p>\n<p>The shape tween is done!<\/p>\n<p>Here is a very fast tutorial and explanation of Shape Tweening by Alan Becker:<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/SNQEicIfCEI\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to use Shape Tween in Flash Tutorial adapted from Flashtutor.org, and Adobe.com Flash Help files. Shape tween is an animation that involves transformation of one shape to another. You\u2019ll learn how to create the flash animation below.\u00a0In shape tweening, you draw a vector shape at one specific frame in the Timeline, and change that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":90,"menu_order":2,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-283","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.shscomputers.com\/wordpress\/index.php?rest_route=\/wp\/v2\/pages\/283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shscomputers.com\/wordpress\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.shscomputers.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.shscomputers.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shscomputers.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=283"}],"version-history":[{"count":17,"href":"https:\/\/www.shscomputers.com\/wordpress\/index.php?rest_route=\/wp\/v2\/pages\/283\/revisions"}],"predecessor-version":[{"id":1250,"href":"https:\/\/www.shscomputers.com\/wordpress\/index.php?rest_route=\/wp\/v2\/pages\/283\/revisions\/1250"}],"up":[{"embeddable":true,"href":"https:\/\/www.shscomputers.com\/wordpress\/index.php?rest_route=\/wp\/v2\/pages\/90"}],"wp:attachment":[{"href":"https:\/\/www.shscomputers.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}