{"id":399,"date":"2020-10-19T16:33:24","date_gmt":"2020-10-19T16:33:24","guid":{"rendered":"https:\/\/openlab.bmcc.cuny.edu\/mmp260-1300-intro-2d-animation-fall-2020\/?page_id=399"},"modified":"2021-08-19T14:49:37","modified_gmt":"2021-08-19T14:49:37","slug":"week-10","status":"publish","type":"page","link":"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/week-10\/","title":{"rendered":"Week 10"},"content":{"rendered":"<h1>Importing an Animate project into After Effects<\/h1>\n<p>Adobe built Animate and After Effects so they could easily be combined. As we\u2019ve seen over the course of the semester the two software have a lot of similarities but also distinct strengths\/weaknesses. Importing our Animate character animation into After Effects will allow us to create more complex camera movements, title sequences and effects.<\/p>\n<p>While there is a camera feature in Animate, it isn\u2019t as sophisticated as the one in After Effects, as it is limited to simple zooms, pans and tilts. This might be more than enough for certain situations (and even your walk cycle assignment), but familiarizing yourself with After Effects\u2019 Camera tool early on will help you with more complex projects down the line.<\/p>\n<p><b>Importing the Animate file in After Effects<\/b><\/p>\n<p><strong><i>For Adobe\u00a0Animate\u00a0Adobe Animate version 19.0 and beyond and After Effects version 16.0 and beyond (current version\u00a0offered with Adobe license).\u00a0<\/i><\/strong><\/p>\n<ol>\n<li>Make sure all your Animate layers are well organized and labeled. Get rid of any layer you don\u2019t want to include in this version (create a copy of the file before deleting anything). Also be mindful that anything outside of the Stage will not be taken into account in After Effects.<\/li>\n<li>Launch Adobe After Effects.<\/li>\n<li>Create a new project and save it.<\/li>\n<li>Go to\u00a0<i>File &gt; Import &gt;\u00a0File\u00a0<\/i>and select your .fla file. Notice that a new composition as well as a folder containing individuals .swf files (one for each of your .fla layers) has been added to your library.<\/li>\n<li>Also add any other file you might be using in the project (i.e: a the background layer you created in Illustrator. Please be aware that raster files (i.e: Photoshop, Procreate, JPG, PNG etc.) will get pixelated if zoomed in\u2026 thus the preferred vector format in this case).<\/li>\n<li>In the Project panel, you will notice a new composition with the name of your fla file as well as a a folder containing the individuals swf files (one for each of your .fla layers). Double click on the composition to open it (and add any layer you\u2019d like)<\/li>\n<li>In order to use the camera on your layers, you must convert them to 3D: Select all of them, right-click and select\u00a0<em>3D Layer.<\/em><\/li>\n<li>If you intend to use the camera to zoom onto certain part of your swf files, you will want After Effects to scale up the vector image without pixelization. In order to do so, you need to turn on the <em>Continuously Rasterize\u00a0<\/em>option checkbox\u00a0(the little sun-like icon) for all the .swf files you will be zooming into.<\/li>\n<\/ol>\n<h1>Looping a sequence in After Effects<\/h1>\n<p>Sometimes, you will want to loop one of the layers\/animation you imported into After Effects (our 8 \u2013 frame walk cycle, for example could be looped to last for an entire minute).<\/p>\n<p>First, we will have to set the<strong>\u00a0Composition settings to match the total length<\/strong>\u00a0we wish our animation to be:<\/p>\n<ul>\n<li>Go to\u00a0<em>Composition &gt; Composition Settings\u2026\u00a0<\/em><\/li>\n<li>Set the duration to your desired length<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-640 size-medium\" src=\"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/539\/2020\/11\/comp-window-300x260.png\" alt=\"composition settings\" width=\"300\" height=\"260\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/comp-window-300x260.png 300w, https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/comp-window-1024x888.png 1024w, https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/comp-window-768x666.png 768w, https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/comp-window.png 1202w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>You\u2019ll notice that the Timeline has changed, but the length of the files you previously imported hasn\u2019t. To lengthen and loop them:<\/p>\n<ul>\n<li>For a\u00a0<strong>static layer <\/strong>(.png, .jpg, .psd etc.), place your cursor over the very end of the layer bar in the timeline. It should be a horizontal double ended arrow cursor. Drag to the right to extend the layer to the end of the composition.<\/li>\n<li>For an <strong>animated layer<\/strong> (importing an fla you made in Animate):\n<ul>\n<li>Right-click on the layer and select\u00a0<i>Time &gt; Enable\u00a0Time Remapping<\/i><\/li>\n<li>Place your cursor over the very end of the layer bar in the timeline.Drag to the right to extend the layer to the end of the composition.<\/li>\n<li>Click on the Property pick whip icon (the little swirl on the right)<\/li>\n<li>Toggle the Time Remap arrow<\/li>\n<li>Click the Expression language menu (the little circle with the arrow in the center) and select\u00a0<em>Property &gt; LoopOut.<\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>The screen shots below may help you follow the steps, or look at the video tutorial on Blackboard and YouTube.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-641 aligncenter\" src=\"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/539\/2020\/11\/time-remapping-300x217.png\" alt=\"time remapping\" width=\"300\" height=\"217\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/time-remapping-300x217.png 300w, https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/time-remapping-1024x740.png 1024w, https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/time-remapping-768x555.png 768w, https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/time-remapping.png 1054w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-642 aligncenter\" src=\"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/539\/2020\/11\/pick-whip-300x129.png\" alt=\"pick whip\" width=\"300\" height=\"129\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/pick-whip-300x129.png 300w, https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/pick-whip.png 556w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-643 aligncenter\" src=\"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/539\/2020\/11\/twirldown-300x40.png\" alt=\"arrow in circle twirl down\" width=\"300\" height=\"40\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/twirldown-300x40.png 300w, https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/twirldown-768x103.png 768w, https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/twirldown.png 908w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-644 aligncenter\" src=\"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/539\/2020\/11\/loopOut-300x224.png\" alt=\"property loopOut\" width=\"300\" height=\"224\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/loopOut-300x224.png 300w, https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/loopOut-1024x764.png 1024w, https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/loopOut-768x573.png 768w, https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-content\/uploads\/sites\/1864\/2020\/11\/loopOut.png 1332w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h1>Moving the background<\/h1>\n<p>In order to give the impression that your character is moving in space, we have to move the background (this is why you creates one that is much wider than the composition:<\/p>\n<ol>\n<li>Place your time cursor at the beginning of the animation (0:00:00:00)<\/li>\n<li>Toggle the background layer\u2019s\u00a0<em>Transform\u00a0<\/em>menu and click on the\u00a0<em>Position<\/em>\u00a0stopwatch<\/li>\n<li>Change the X value of the background so that its left edge aligns with the left edge of the composition.<\/li>\n<li>Go to the end of the animation<\/li>\n<li>Change the X value of the background so that its right edge aligns with the right edge of the composition.<\/li>\n<\/ol>\n<h1>Camera in After Effects<\/h1>\n<p>Adobe After Effects allows you to add a Camera layer to your Compositions. This can add dynamism to your scene by using a variety of shots, zooming, panning etc.<\/p>\n<h3>2.5D<\/h3>\n<p>By default, Solid, Text and Shape layers in After Effects are 2-dimensional. This means they have an\u00a0<strong>X(width) and Y(height) axis<\/strong>. This is also true of .swf, .png, .jpg and any other raster files you may be importing into your project. However, the camera needs 3-dimensional information in order to move properly \u2013 this means it needs an\u00a0<strong>added\u00a0Z (depth) axis<\/strong>.<\/p>\n<p>Before adding a camera to your composition, you must transform all the layers you want to include into your camera-enhanced scene into 3D layers:\u00a0<strong>This can be done by right-clicking on the layer and selecting\u00a0<em>3D Layer<\/em>\u00a0or by toggling the box in the 3D\u00a0column<\/strong>. While these layers aren\u2019t exactly 3-dimensional (your characters, props, backgrounds etc. are still 2-dimensional drawings), the layers are placed into a 3-dimensional space and can be moved on the Z axis. This effect is often referred to as\u00a0<strong>2.5D (in-between 2D and 3D)<\/strong>.<\/p>\n<h3>Adding a Camera layer<\/h3>\n<p>A Camera is a layer (just like Solids, Text and Shapes). It will be added to your Timeline. In order to add one:<\/p>\n<ul>\n<li>Go to\u00a0<strong><em>Layer &gt; New\u2026 &gt; Camera<\/em><\/strong><\/li>\n<li>You can change the type of camera and lens, but we\u2019ll keep the default setting:\n<ul>\n<li>Type: One-Node Camera<\/li>\n<li>Preset: 50mm<\/li>\n<li>Units: Millimeters<\/li>\n<li>Measure Film Size: Horizontally<\/li>\n<li>Deselect Enable Depth of Field (or you might get a blurred image when zooming very close to your swf file).<\/li>\n<li>Once you hit OK, you\u2019ll notice that a Camera layer has been added to the Timeline.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>Previewing and controlling the camera<\/h3>\n<p>A second\/bird\u2019s eye view of the composition is useful when positioning elements in 3-dimensional space. Let\u2019s<strong>\u00a0change the view<\/strong>\u00a0of our Composition window:<\/p>\n<ul>\n<li>Set the\u00a0<strong>view layout dropdown to\u00a0<em>2 Views \u2013 Horizontal<\/em><\/strong><\/li>\n<li>Click on the new view (on the left) and make sure\u00a0<strong>3D view dropdown is set to\u00a0<em>Top<\/em><\/strong><\/li>\n<\/ul>\n<p>The Camera layer has its own Animation properties.\u00a0Toggle the Transform tab to see them. For now, we will focus on the first two properties:<\/p>\n<ul>\n<li><strong>Position<\/strong>: There is a number for each of the 3 axis,\u00a0<strong>X(width), Y (height) and Z (depth)<\/strong>. You can type in numbers, hover click and drag on them or control the position visually in the\u00a0<em>Top\u00a0<\/em>view.<\/li>\n<li><strong>Orientation:<\/strong>\u00a0This refers to the angle of the camera. The first value can be used to\u00a0<strong>tilt<\/strong>\u00a0the camera (up \u2013 down), the second to\u00a0<strong>pan<\/strong>\u00a0it (left \u2013 right) and the third to\u00a0<strong>rotate<\/strong>\u00a0around the scene<\/li>\n<\/ul>\n<p>Just like any property, you must set a first keyframe (by clicking on the stopwatch icon) in order to change them over time. For a\u00a0<strong>zoom or pan, you can use regular keyframes<\/strong>. If you wish to\u00a0<strong>\u201ccut\u201d<\/strong>\u00a0from one camera position to another, use a\u00a0<strong>Hold keyframe\u00a0<\/strong>(right-click on the keyframe and select\u00a0<em>Toggle Hold Keyframe<\/em>).<\/p>\n<p>I am keeping these steps fairly simple for the sake of time, but\u00a0<a href=\"https:\/\/www.schoolofmotion.com\/tutorials\/cameras-after-effects\">this article from\u00a0<em>School of Motion<\/em><\/a> is a great resource if you want to learn more about cameras in After Effects.<\/p>\n<h1>Saving, moving and submitting your After Effects project<\/h1>\n<p>When you import assets into your After Effects library, you must include all the files you used when moving or sharing your project. <strong>If you only save\/submit your .aep file it won\u2019t be able to load the .swf and .png files and will send an error message saying it can not locate them.<\/strong><\/p>\n<p>In order to avoid this issue, <strong>keep your work organized into a single folder<\/strong>, and include the entire folder in your submissions\/when moving your file form one computer to another. <strong>You will have to zip it.<\/strong><\/p>\n<h3>Video Tutorials<\/h3>\n<ul>\n<li><strong><a href=\"https:\/\/youtu.be\/4ABIFTrhXnE?list=PLn8Sc17_DufsGu_o7gIVO87_28lCGq5dj\">Importing an fla file (Animate) into After Effects and looping it<\/a><\/strong><\/li>\n<li><a href=\"https:\/\/youtu.be\/0YdP-jR0wTs?list=PLn8Sc17_DufsGu_o7gIVO87_28lCGq5dj\"><strong>Importing a background layer into After Effects and panning it<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/youtu.be\/fie9wk_dlHM?list=PLn8Sc17_DufsGu_o7gIVO87_28lCGq5dj\"><strong>Adding a camera layer in After Effects<\/strong><\/a><\/li>\n<\/ul>\n<h3>Week 10 Assignment: <a href=\"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/final-project-bring-your-character-into-after-effects\/\">Import your Animate file into After Effects<\/a><\/h3>\n<h2>Checklist<\/h2>\n<p>By the time of our next meeting, make sure you have:<\/p>\n<ul>\n<li>Created a folder that contains your Animate file, your After Effects project file, your background and any other files you will be using for your project.<\/li>\n<li>Imported the Animate file into After Effects and looped it, following instructions.<\/li>\n<li>Imported the background file and panned it in After Effects<\/li>\n<li>Added a camera layer to the After Effects project<\/li>\n<li>Made some simple camera movements<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Importing an Animate project into After Effects Adobe built Animate and After Effects so they could easily be combined. As we\u2019ve seen over the course of the semester the two software have a lot of similarities but also distinct strengths\/weaknesses. Importing our Animate character animation into After Effects will allow us to create more complex [&hellip;]<\/p>\n","protected":false},"author":82,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"portfolio_post_id":0,"portfolio_citation":"","portfolio_annotation":"","openlab_post_visibility":"","footnotes":""},"class_list":["post-399","page","type-page","status-publish","czr-hentry"],"_links":{"self":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-json\/wp\/v2\/pages\/399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-json\/wp\/v2\/users\/82"}],"replies":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-json\/wp\/v2\/comments?post=399"}],"version-history":[{"count":18,"href":"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-json\/wp\/v2\/pages\/399\/revisions"}],"predecessor-version":[{"id":987,"href":"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-json\/wp\/v2\/pages\/399\/revisions\/987"}],"wp:attachment":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/ani-260-1301-intro-2d-animation-fall-2021\/wp-json\/wp\/v2\/media?parent=399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}