{"id":567,"date":"2019-09-13T14:48:18","date_gmt":"2019-09-13T14:48:18","guid":{"rendered":"https:\/\/openlab.bmcc.cuny.edu\/mmp260-1301-f2019\/?page_id=567"},"modified":"2020-04-30T17:53:51","modified_gmt":"2020-04-30T17:53:51","slug":"week-11","status":"publish","type":"page","link":"https:\/\/openlab.bmcc.cuny.edu\/mmp260-pinkas-s2020\/week-11\/","title":{"rendered":"Week 11"},"content":{"rendered":"<div class=\"entry-content\">\n<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><span style=\"color: #ff0000\"><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><\/span><\/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 <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\u00a0<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<p><span style=\"color: #ff0000\"><strong><i>For older versions of\u00a0Animate and After Effects (pre 2018)<\/i><\/strong><\/span><\/p>\n<ol>\n<li>Create a folder to store all the assets you will create for this new version.<\/li>\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).<\/li>\n<li>Make sure the\u00a0<em>Advanced Layers\u00a0<\/em>icon is turned off. If you leave it on, the SWF file won\u2019t play in After Effects.<\/li>\n<\/ol>\n<figure id=\"attachment_720\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-720\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp260-1300-s2021\/wp-content\/uploads\/sites\/88\/2019\/11\/Screen-Shot-2019-11-07-at-10.53.20-AM.png\" alt=\"\" width=\"452\" height=\"160\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp260-pinkas-s2020\/wp-content\/uploads\/sites\/147\/2019\/11\/Screen-Shot-2019-11-07-at-10.53.20-AM.png 452w, https:\/\/openlab.bmcc.cuny.edu\/mmp260-pinkas-s2020\/wp-content\/uploads\/sites\/147\/2019\/11\/Screen-Shot-2019-11-07-at-10.53.20-AM-300x106.png 300w\" sizes=\"auto, (max-width: 452px) 85vw, 452px\" \/><figcaption class=\"wp-caption-text\">Advanced layer icon. Should be turned to \u201cOff\u201d before exporting.<\/figcaption><\/figure>\n<ol>\n<li>Next, we\u2019ll export each element that we know we\u2019ll want to control separately in After Effects into a separate SWF movie file.\n<ul>\n<li>Guide layers will not be exported in the SWF file, so we can temporarily turn a layer into a guide to hide it (the regular\u00a0<em>hide<\/em> feature won\u2019t work). Right-click on the layer name and select\u00a0<em>Guide<\/em>. Repeat for any layer you don\u2019t want to include in the first SWF<\/li>\n<\/ul>\n<\/li>\n<li>Go to\u00a0<em>File &gt; Export &gt; Export Movie\u2026<\/em>\n<ul>\n<li>Name your file<\/li>\n<li>Set the file format to SWF (PNG sequences can also work here, but since PNG is a raster format, it won\u2019t be as scalable as SWF which is vector-based)<\/li>\n<li>Save in the folder you created<\/li>\n<\/ul>\n<\/li>\n<li>Repeat for each layer.<\/li>\n<li>Launch After Effects<\/li>\n<li>Go to\u00a0<em>File &gt; Save As &gt; Save As\u2026<\/em> name your file and save it in the same folder as the SWFs<\/li>\n<li>Go to\u00a0<em>File &gt; Import &gt; File\u2026 <\/em>and select the SWF file(s) you just created.<\/li>\n<li>Let\u2019s create a new composition with the SWF(s). Select the SWF(s) and drag and drop it\/them onto the New Composition icon.\n<ul>\n<li>\n<figure id=\"attachment_947\" class=\"wp-caption alignnone\">If you have several SWFS: In the\u00a0<i>New\u00a0Composition\u00a0from Selection\u00a0<\/i>window, make sure\u00a0<i>Single\u00a0Composition\u00a0<\/i>is selected. You can keep the default option for the other settings.<\/figure>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<figure id=\"attachment_947\" class=\"wp-caption alignnone\"><\/figure>\n<figure id=\"attachment_975\" class=\"wp-caption alignnone\">Each SWF file will appear as a layer in the Timeline (reorder them if needed).<\/figure>\n<\/li>\n<li>\n<figure id=\"attachment_975\" class=\"wp-caption alignnone\">You\u2019ll also notice that a new Composition has been added to your Project panel. You can rename it by right-clicking its name and selecting <em>Rename<\/em>\u00a0(i.e: \u201cwalkAnimate\u201d)<\/figure>\n<\/li>\n<li>When you press the\u00a0<em>Spacebar\u00a0<\/em>you should see your entire animation play on the screen<\/li>\n<\/ol>\n<hr \/>\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> Composition settings to match the total length<\/strong> we 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>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 <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 animated layer (i.e: .swf):\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<hr \/>\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&#8217;s\u00a0<em>Transform\u00a0<\/em>menu and click on the <em>Position<\/em> stopwatch<\/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<hr \/>\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 <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 <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: <strong>This can be done by right-clicking on the layer and selecting\u00a0<em>3D Layer<\/em> or 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 <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> change the view<\/strong> of our Composition window:<\/p>\n<ul>\n<li>Set the <strong>view layout dropdown to <em>2 Views \u2013 Horizontal<\/em><\/strong><\/li>\n<li>Click on the new view (on the left) and make sure <strong>3D view dropdown is set to <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, <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 <em>Top\u00a0<\/em>view.<\/li>\n<li><strong>Orientation:<\/strong> This refers to the angle of the camera. The first value can be used to <strong>tilt<\/strong> the camera (up \u2013 down), the second to <strong>pan<\/strong> it (left \u2013 right) and the third to <strong>rotate<\/strong> around 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 <strong>zoom or pan, you can use regular keyframes<\/strong>. If you wish to <strong>\u201ccut\u201d<\/strong> from one camera position to another, use a <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 <a href=\"https:\/\/www.schoolofmotion.com\/tutorials\/cameras-after-effects\">this article from <em>School of Motion<\/em><\/a> is a great resource if you want to learn more about cameras in After Effects.<\/p>\n<hr \/>\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. 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.<\/p>\n<p>In order to avoid this issue, keep your work organized into a single folder, and include the entire folder in your submissions\/when moving your file form one computer to another.<\/p>\n<hr \/>\n<h1>Final project \u2013 step 6: adding a background and applying After Effect\u2019s camera to the walk cycle<\/h1>\n<h3><strong>Subject<\/strong><\/h3>\n<p><strong>Import your Animate animation into After Effects<\/strong>. Follow the same steps to import your background\u00a0Illustrator file if you decide to use this software rather than a separate Animate layer. <strong>Loop your walk cycle<\/strong>.\u00a0<strong>Move the background<\/strong> to give the impression that your character is moving in space.<strong>Use After Effects\u2019 Camera tool<\/strong> to recreate the shots outlined in your storyboard.<\/p>\n<h3><strong>Format<\/strong><\/h3>\n<p>Use the following composition settings: 24fps, width: 1920px | height: 1080px.\u00a0Save your .aep file and export your animation to Quicktime (review rendering instructions on the <a href=\"https:\/\/openlab.bmcc.cuny.edu\/mmp260-1300-s2021\/week-9\/\">week9 page<\/a>). Upload your animation to Vimeo or Youtube.<\/p>\n<h3><strong>Submission<\/strong><\/h3>\n<p>Create a new post on your Open Lab portfolio. Your post should include a <strong>link to your Vimeo or Youtube video<\/strong> as well as a <strong>short description<\/strong>\u00a0(what did you add\/change from the previous version. Reflections on your process, challenges, goals etc. are also welcome).<\/p>\n<p>This assignment is due next week. Submit the following files on the following platforms:<\/p>\n<ul>\n<li>Blackboard: .aep file and all .swf and .ai files imported into it and a link to your Open Lab post. The easiest way to make sure you&#8217;re not forgetting any files is to compress (see instructions<a href=\"http:\/\/rasmussen.libanswers.com\/faq\/32413\"> here<\/a>) the entire folder and submitting the zip version.<\/li>\n<li>Open Lab discussion board: Reply to the \u201cFinal Project: camera\u201d discussion post with a link to your Open Lab post<\/li>\n<\/ul>\n<p><strong>This is part of the final project. It will be taken into account in the final grade for the\u00a0project (see full grading rubric<a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1GrIG9OlQbbWCn1rmbWAh0PRt4v6FTH9wqQln4TQdDdM\/edit?usp=sharing\">\u00a0here<\/a>).<\/strong><\/p>\n<\/div>\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; <a href=\"https:\/\/openlab.bmcc.cuny.edu\/mmp260-pinkas-s2020\/week-11\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Week 11&#8221;<\/span><\/a><\/p>\n","protected":false},"author":21,"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-567","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp260-pinkas-s2020\/wp-json\/wp\/v2\/pages\/567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp260-pinkas-s2020\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp260-pinkas-s2020\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp260-pinkas-s2020\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp260-pinkas-s2020\/wp-json\/wp\/v2\/comments?post=567"}],"version-history":[{"count":50,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp260-pinkas-s2020\/wp-json\/wp\/v2\/pages\/567\/revisions"}],"predecessor-version":[{"id":1004,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp260-pinkas-s2020\/wp-json\/wp\/v2\/pages\/567\/revisions\/1004"}],"wp:attachment":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp260-pinkas-s2020\/wp-json\/wp\/v2\/media?parent=567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}