navigate site menu

Start learning with our library of video tutorials taught by experts. Get started

Edge Animate Essential Training
John Hersey

Edge Animate Essential Training

with Chris Converse

 


Adobe Edge Animate offers a new way of creating rich and interactive animated content for web and mobile sites. In this course, discover how to use the complete Edge Animate toolset to lay out and animate motion graphics for your website, mobile devices, digital magazine, iBooks, and more. Author Chris Converse shows you how to build basic compositions with shapes, text, images, and SVG files; animate the different elements with Auto Keyframe and Auto Transition features; trigger actions based on the timeline position or your visitor's mouse clicks and movements; and incorporate custom HTML, audio, and video. Chris also shows how to make your content accessible to the broadest audience possible with responsive layouts, incorporate web fonts from various online services, and accommodate older browsers. The final chapters in the course show how to use content from other applications like Flash or After Effects and take it to the next level with Edge Animate.
Topics include:
  • What is Edge Animate?
  • Creating a new project
  • Importing and manipulating content
  • Preparing content in Photoshop, Fireworks, or Illustrator
  • Adding text to a composition
  • Animating with the Toggle Pin
  • Setting easing options
  • Animating clip and background positions
  • Looping animation
  • Working with symbols
  • Targeting elements with actions
  • Working with HTML and CSS in the Code panel
  • Using responsive layout presets
  • Publishing for the web or iBooks
  • Going from Edge Animate to Flash, After Effects, Photoshop, Sencha Animator, or Tumult Hype

show more

author
Chris Converse
subject
3D + Animation, Video, Motion Graphics, Web, Web Graphics, Interaction Design, Animation, Web Design
software
Edge Animate
level
Beginner
duration
3h 52m
released
Dec 07, 2012
updated
Jun 05, 2013

Share this course

Ready to join? get started


Keep up with news, tips, and latest courses.

submit Course details submit clicked more info

Please wait...

Search the closed captioning text for this course by entering the keyword you’d like to search, or browse the closed captioning text by selecting the chapter name below and choosing the video title you’d like to review.



Introduction
About this course
00:04Hi, I'm Chris Converse, and this is Edge Animate Essential Training.
00:07In this course we'll learn to compose layouts, animate objects, and create interactive elements
00:11inside of Adobe Edge Animate.
00:12We'll also cover various publishing options, which will allow us to use our projects on
00:16the web, in an iBook, or share them with other Adobe authoring applications.
00:21We're going to start by creating symbols and elements, working with actions, all while working
00:25with a fixed layout size and standard web fonts.
00:28We'll branch into larger areas of web design and layout, which Edge Animate also supports.
00:33These things include using web fonts from online services, and preparing projects to
00:37gracefully downgrade for older browsers.
00:39So with all that, we've got a lot to cover.
00:40So let's get started.
Collapse this transcript
How do I get the software?
00:00The first shipping version of Edge Animate version 1.0 is completely free.
00:05All you need to do is sign up for a free Adobe Creative Cloud account and you'll have access
00:08to all of the Edge application and services including Edge Animate.
00:12After you log in to the Creative Cloud service, you're going to go to the Apps section, and
00:17in the centre you'll see a group of tools called Edge Tools & Services.
00:21On the far left the first item you'll see listed under the Edge Tools & Services will be Edge Animate.
00:25Simply click on the Download button and the Creative Cloud service will download a copy
00:29of Edge Animate to your computer.
00:31Once you have a copy of the software on your computer you're ready to continue on with this course.
00:34
Collapse this transcript
Using the exercise files
00:00Now there's a series of exercise files that go along with this particular course.
00:04If you're Premium Member of the lynda.com Online Training Library you'll have access
00:08to these exercise files.
00:09I've broken all of the files into individual chapters and each chapter contains a different set of files.
00:15So Chapter 3, for example, contains files that you can use inside of Illustrator and Photoshop
00:19to prepare artwork for Adobe Edge Animate, whereas Chapter 4 actually contains projects
00:23in Adobe Edge Animate that we're going to be modifying.
00:26So throughout the course I'll be instructing you on which files we're working with and
00:29which chapter folder those file are located in.
Collapse this transcript
What does Edge Animate actually create?
00:00Now one of the first questions you might have with Edge is, what kind of files does it create?
00:04When you save an Edge Animate file to a particular folder, what Edge is going to do is create
00:09an HTML file with the same name and then a series of JavaScript files that hook into that HTML file.
00:15In addition Edge will also create a folder called Edge Includes and inside of that folder
00:19is a copy of the Edge API, a copy of jQuery, and other JavaScript files.
00:24It's all of these files combined that the browser sees and loads to replicate your Edge
00:29project within a web browser.
00:31Now the way Edge writes all of the JavaScript in HTML is in such a way that it is compatible
00:35with as many browsers back as possible, but in addition Edge gives us a few ways that
00:39we can create things like downloadable stages, for example, that will allow us to create user
00:44experiences for people who don't have a newer browser, and we'll talk about a lot of that
00:48stuff in the publishing section.
00:50In addition to web browsers, your Edge Animate projects can be used in a bunch of other places,
00:54including inside of EPUBs, inside of digital magazines, and anywhere that HTML, CSS, and
00:59JavaScript are supported.
01:00To see a sample of the folder structure that Edge creates I'm going to come over here to
01:04the Exercise Files.
01:06Let's open up Chapter 1 and let's open up the myAnimateProject.
01:10This is simply creating a blank document inside of Edge and simply hitting Save into this folder.
01:15So here we see we have our animate project, our HTML, a series of JavaScript files that
01:20hook into that HTML file, and a folder called edge_includes, again with all of the JavaScript
01:25that's necessary to run these entire project.
Collapse this transcript
What's new in Edge Animate 1.5?
00:00 Edge Animate 1.5 gives us some new features around CSS and fonts.
00:05 the color panel has a new interface and features a CSS3 gradient creation tool.
00:09 And additional CSS3 tools include creating CSS filters, box shadows and
00:14 text shadows. In addition to these CSS3 capabilities,
00:18 Adobe Edge Web Fonts, a service from Creative Cloud, has been integrated
00:22 directly into Edge Animate, making searching and adding web fonts from Adobe
00:25 Typekit quick and easy. For more information on using these new
00:29 CSS3 features, look for new lessons inside of chapter 2, and to animate these
00:34 new CSS3 capabilities, look for new lessons inside of chapter 5.
00:37 And for information on adding Adobe Typekit Web Fonts into your composition,
00:41 look for the Edge Web fonts lesson in chapter 11.
00:45
Collapse this transcript
1. Understanding the Edge Animate Interface
The splash screen
00:00Now when you launch Edge Animate you're going to get this splash screen.
00:03In the upper left-hand corner here you have the option of opening a file that already
00:06exists on your computer's hard drive.
00:08You have the ability to create a new file or to access any other recent files that you
00:13had open inside of Adobe Edge.
00:15On the right-hand side we have a series of tabs.
00:17First is Get Started, which is open by default, and this contains links into here, which will
00:21bring you into the Edge environment and open up the Lessons panel and walk you step by step
00:26through some of the courses that they have built into the product.
00:29Under Key Features they list some of the features that are unique to Edge Animate.
00:34The Resources tab contains links to other training material.
00:37And lastly, my favorite one, is the one called Quiet.
00:40Just selecting this will turn all of the right- hand panels off and just give you a nice clean
00:45space that you can decide what you want to do before you start your project.
Collapse this transcript
Overview of the interface
00:00Now in order to see the Edge Animate interface we need to create a new project.
00:04So from the splash screen let's come over here and just click Create New.
00:08Once this opens up we can see the Adobe dark interface is also being used inside of Edge Animate.
00:12On the left-hand side under Properties here, this is a contextual panel which will change
00:16based on whatever content we have selected in the stage in the Elements panel or in the Timeline.
00:21Now over here on the right where it says Untitled-4, this is our stage and the file that we're
00:26working in, and notice that it says .html.
00:29As we talked about before, every time we save a file in Edge Animate, we also get an associated HTML file.
00:36Further to the right is the Elements panel.
00:38This is where edge will show us the HTML structure of any document that we're working within.
00:44Underneath is the Library panel.
00:45This is broken into asset, symbols, and fonts.
00:47On the right-hand side this is the Lessons panel.
00:51From the splash screen, if we were to click on one of those items on the Getting Started
00:54tab, it would bring us into this interface here and start us in a particular lesson.
01:00Then at the bottom of the panel is our timeline.
01:02We're going to be doing most of our work between the Timeline panel, the Stage panel, and the
01:06Properties panel over here.
Collapse this transcript
Customizing Edge Animate
00:00There are a few things you can do to customize the interface of Adobe Edge Animate.
00:04One of the first things you might want to look at is under the Edit menu, come down
00:07to Keyboard Shortcuts.
00:09If you've been using other animation software which gives you keyboard shortcuts for things
00:12like creating keyframes or transitions, you can come in here and redefine shortcuts that
00:17are already in Edge Animate to match software that you're already used to.
00:22In addition, all of the panels are resizable as well.
00:25So I can grab all of these panels and move them around and the other panels will adjust accordingly.
00:31Once you've arranged the panels in a way that you like, you can come up to the Window menu,
00:35choose Workspace, and then New Workspace and give your workspace a name.
00:39So if you resize your panels again in the future, you can always go back to a saved workspace.
00:44Now in addition to just resizing panels you can also grab a panel and pull it out of the interface.
00:49So I can pull the Lessons panel out here and just have it be its own floating window or
00:53I can simply close it.
00:55For the remainder of this course I am going to leave the Lessons panel closed so I can
00:58get a little bit more room on the right-hand side and a much bigger stage area in the center.
Collapse this transcript
For those familiar with HTML and CSS
00:00Now if you are familiar with HTML and CSS you are going to be very curious as to how
00:04Edge actually creates these animations and layouts with HTML and CSS.
00:09So in order to demonstrate this I want to show a couple of examples on how Edge will
00:13change the code based on what we do in the Properties panel.
00:16Now I don't want you to follow along in this video.
00:18I just want you to watch.
00:19So what I am going to do is select a graphic that I have here on the stage.
00:23When I select this, you will see the Properties panel lights up with all the different properties
00:26that we can change.
00:27What I want to call your attention to is in the corner here,
00:30we see this little item called div.
00:32If I click on this I can change between a div and an image tag for this graphic.
00:36By default Edge is going to put the graphic into a background property of a div tag and
00:42define that background property with CSS.
00:44This gives us the ability to move the background position of this object.
00:48So I can click-and-drag this around and very much like InDesign, I can move the background
00:53position while keeping the original container in the same spot.
00:57If I have my Clipping tool selected, I can come in here and change the clip of this as well.
01:02And even with the clip changed I can still move the apple around.
01:06Now if were to publish this out and inspect it in a browser, I would see that I have a
01:10div tag with the graphic assigned into the background with CSS and the clipping properties
01:15defined in CSS are also attached to the div element.
01:20Now if I come back to Edge, let me just undo some of these changes and come back to the original graphic.
01:25Now with the graphic selected, instead I am going to tell Edge I don't want to use a div
01:28tag, I just want to use an image tag.
01:31With the image tag selected I am going to come back to the clipping tool and now when
01:35I assign clipping properties into this graphic, you will notice that I don't have the ability
01:38to move the background graphic.
01:40This is because an image tag cannot have a background graphic as part of that image tag.
01:45So Edge's interface won't show me that as an option either.
01:49Now I were to publish this out and inspect this in a browser, I would see that instead
01:52of having a div tag with a background graphic, I simply have just an image tag, no CSS background,
01:58because this is an image element, and all of the clip items are assigned to the image tag.
02:02Now one of the most elegant aspects of Edge Animate is that as we go through and make
02:06changes in the Properties panel and adjust our layout and composition on the stage, Edge
02:11is constantly changing the HTML and CSS necessary to replicate our design inside of various
02:16browsers. And if there is ever a point when you want to actually customize what Edge is
02:21actually writing, you can select any item and choose the HTML container, or you can come
02:25up here to this button at the top here, which will allow us to customize specific elements.
02:30I can click on this for example and define what always happens with the element I have
02:35selected as far as Edge is concerned.
02:37So if you always want images tags specified with an image, for example, you can check on
02:41this box here and it will always use the image tag.
02:44So again, for those who are familiar with HTML and CSS, as you're working inside of Edge,
02:49when you publish out your projects, just take a peak at your inspection tool inside of your
02:52browser, and just take a look at how Edge is actually constructing the layouts that you're
02:56creating inside of the interface.
02:57
Collapse this transcript
2. Creating Content in Edge Animate
Creating a new project
00:00So to start working with an Edge Animate project, I want to first create a folder on the desktop.
00:04We will cal this myAnimateProject and open this up and just resize it a little bit.
00:09Now with that in place let's come back to Edge Animate.
00:13From the splash green let's come over the Create New.
00:16Now by default Edge is going to create a 550 pixel wide by a 450 tall pixel stage, and
00:22notice next to the pixel measurements we have this little button here.
00:26If I click on this, this will change from pixels to percent.
00:30When we have the have the measurement set to percentage, this is how Edge Animate is
00:34going to let us create responsive designs of our content.
00:37So when the browser size changes we can control where our content moves around.
00:42For the first few chapters we are going to change this back to pixels.
00:45Once you get comfortable with Edge in creating your different layouts, then we are going
00:48to be switching to responsive designs later on in the course and then having our designs
00:52change with the browser width.
00:55After all of the stage measurement, you will see the Composition ID.s
00:58Every project gets a unique ID and we have to have a unique ID inside of each HTML file.
01:04Next is the Down-level Stage.
01:05This gives us a very nice visual way to create an alternate layout for older browsers, giving us
01:11a way to progressively enhance our user experience.
01:14The next two items, Poster frames and Preloaders, these are also part of the publishing settings
01:19and we are going to talk more about Down- level Stage, Poster frames, and Preloaders in the
01:24publishing section of this course.
01:26Now without changing anything at all, what we are going to do is come up to the File menu.
01:29We're going to choose Save, and from the Desktop let's choose the myAnimateProject that we
01:34created, and for the name we are going to call this myProject.
01:38Then we'll click Save.
01:41Now if we look inside that folder that we created on the desktop, we will see the myProject.an,
01:45which is the animate file we got from Edge, and automatically Edge created the HTML file,
01:51these three JavaScript files all with the same name, and then the edge_includes directory,
01:56which contains jquery, jquery.easing, a json2 JavaScript file, and a copy of the Edge Animate framework.
02:04Now with this in place you have a project that you can work through the rest of this chapter with.
02:07
Collapse this transcript
Using the Rectangle and Ellipse tools
00:00Now to create content inside of Adobe Edge Animate we're going to be working with a blank project.
00:05For those who joined us in the beginning of this chapter you can use the blank project
00:08we created on the desktop.
00:10Once inside of the Edge interface what we're going to do is come up here to the upper-right
00:12hand corner and select the Rectangle Tool.
00:16With that tool selected come over to the stage and click and drag.
00:19Edge Animate is going to create a rectangle on the stage, and then in the Properties panel
00:23you're going to see all of the different properties light up with all of the things that we can change.
00:27The first thing I want to look at in the toolbar is the stroke and fill.
00:31Now in CSS these are referred to as background color and border color.
00:35So let's click on background color.
00:36Let's come over here and select a color.
00:39You can hit Return or click on the swatch again to get the dialog box to go away.
00:43And you'll see two different places that we can assign background colors, in the toolbar at
00:47the top, and in the Properties panel under Color.
00:51Next to color we can assign a border color.
00:53Let's click on this.
00:55Let's assign a border color.
00:57Now in CSS we don't actually see a border until we define three properties - color, style, and size.
01:04So this dropdown menu next to the border gives us the ability to define the style.
01:09Let's come down and choose solid.
01:11As soon as I do that I see the one pixel show up.
01:13I can roll my cursor over top of the value here and I get the scrubby sliders.
01:18So I can click and drag this.
01:20Give this a border size.
01:23I'll make the color a little bit lighter so you can see it.
01:27You'll notice that as I make changes we can see the live representation on the stage.
01:32Now above color we have all of the Position and Size properties.
01:35So I come over here and scrub the width, for example, or the height.
01:40I can even lock these two properties together so they will scale in proportion.
01:46Underneath Color we have all the Transform tools.
01:48We can scale the entire object, unlink these and just scale one property.
01:54We can shear these or we can come down to the Rotate and rotate this object.
02:03Now underneath Transform we have Corners.
02:06This might be close by default, but you can toggle this open, and Corners controls the
02:10effect of the border radius of this object.
02:13So by default number one is selected, which means changes I make here are going to affect all four sides.
02:18So if I scrub this value here we can see the effect of the rounded corners on the stage.
02:23Another nice feature in this interface is we can change which borders we are affecting.
02:27If I change from the number one to the number four this gives me four values that I can change.
02:32So I can grab the upper-right corner for example and change that to be 0.
02:36So I can affect the corners individually, or again, go back to number one and affect all
02:41of the corners at the same time.
02:43There's also an option for eight where I can affect the beginning and ending points of
02:47a corner for each item.
02:49So as I change this upper-right corner here you can see that I actually have a border
02:53radius that's different on the top versus the border on the right.
02:57Now I'm going to come back to the corners area and just set this back to a lower number.
03:00So these are the basic things that we can affect on a rectangle.
03:04I'm going to come up here to the stage, select my rectangle, and delete this.
03:09Now the tool next to the Rectangle Tool is the Rounded Rectangle Tool.
03:13If we select this come over to the stage, click and drag, you'll see that we get rounded corners.
03:18What's really happening here is Edge is automatically assigning border properties.
03:22So when we do this what you'll see is Edge is actually just creating another div element
03:26and adding corners to the object automatically.
03:29There's really no difference between the Rectangle Tool and the Rounded Rectangle Tool.
03:33In both cases you might notice in the upper right-hand corner under the Elements panel
03:38these items that we're drawing are being assigned div tags.
03:41So again everything we're doing in the Edge interface is represented with HTML and then
03:46the CSS is being applied to the object to create the visual effects.
03:50Now let's come in here, let's delete this, and let's go to the third tool here, which
03:53is the Ellipse Tool.
03:55So with the Ellipse Tool selected I'll click and drag, get a circle.
03:59I can hold the Shift key to constrain proportions, and when I let go the one change you'll notice
04:03here is we still have a div tag, but in the corners property we have our measurements
04:07changed from pixels to percents.
04:10This is how we define circles in CSS, and again Edge will automatically assign those
04:15objects based on which of the tools we've selected.
04:18Let's come back to the stage, delete this.
04:20Now one tool that seems to be missing is the Line Tool, but we can actually create lines
04:24or rules with our Rectangle Tool.
04:26So let's come up to the Tool panel.
04:28Let's select the Rectangle Tool.
04:29I am going to come in here and click and drag on the stage.
04:33First thing I'm going to do is come over to the rule inside of Color.
04:37Let's set that property to none.
04:39Let's set the size down to 0.
04:41Then we can come up to the Position and Size and move this down to let's say a 5 pixel rule.
04:46So now when I click away I actually have a div here which just has a height of 5.
04:50Then I can come in here and affect this by changing things like the rotation, for example.
04:55Again, if we go over to the Elements panel we'll see again that we just have the div on the stage.
05:00So as I mentioned before, Edge is creating HTML elements for all the objects that we
05:03drawn on the stage, and then using CSS to replicate all of the different properties we're setting
05:08in the Properties panels.
05:09
Collapse this transcript
Using the Transform tool vs. the Properties panel
00:00Now in the toolbar in the upper left-hand corner of Edge Animate next to the Pointer
00:04Tool we have a Transform Tool.
00:06So what this does is basically let us transform a series of properties really quickly inside of Edge Animate.
00:12So let's come over to the Rectangle Tool, let's click and drag a rectangle to get something
00:16on the stage, and let's come over here to the Transform Tool.
00:19With the Transform Tool selected, I want you to watch the properties in the Transform area
00:24in the Properties panel.
00:25So if I come over here and just simply grab one of these corners and click and drag, notice
00:30that both the Width and Height properties are now changing.
00:33If I put my cursor outside of the bounding box, you'll see I have a rotation symbol here.
00:39When I click and drag, notice the rotation actually changes.
00:42Now these give me tools inside of Edge that allow me to transform objects very much the
00:47way I would transform in tools like Illustrator and InDesign, but all of the CSS properties
00:52are being assigned in that transform area in the Properties panel.
00:55Now I can also change the origin of this object, which is very similar to a registration point.
00:59So I can click and move this around, and again in the Properties panel you can see under
01:03Transform the Origin property is changing.
01:06Once I let go, come back out and rotate this and it will now rotate around that Origin
01:09property, and scale on that Origin property.
01:13When I come on to the right-hand or left-hand side of the object I can actually shear this
01:17as well, and the same thing for the bottom properties.
01:20We can see the shearing effect again changing inside of the Transform area.
01:25Now the Transform Tool isn't doing anything different than we could do manually by going
01:29into the transform area of the Properties panel, but it gives us a very visual way to
01:33quickly access the different transform properties using one tool and making our transformations on the stage.
01:39
Collapse this transcript
Using the Text tool
00:00To add text objects inside of Edge Animate we're going to come up to the Tool panel.
00:04We're going to select on this letter T here, the Text Tool.
00:07Come down to the stage and we're going to click and drag.
00:08Now as soon as we let go, Edge is going to give us a dialog box where we enter our text.
00:14So right now we can't actually type directly on the stage.
00:17All of the text for an individual item is controlled through this text block.
00:21So I'm just going to type in here, This is a text box. Let's close this.
00:25Then we can see the text is actually showing up inside of that object.
00:28To make changes to the text we can simply double-click and bring this back.
00:32Now this also supports line-breaks.
00:34So I can hit a Return, close this out and I'll get a return inside of my element here.
00:40Now one thing we can't do is affect this with HTML.
00:42So we can't style individual words and characters.
00:46We can inject HTML into these objects, and that's something that we'll look at later on in the course.
00:51With this textbox selected we'll see all of the different properties over here and all
00:55of the properties in the Properties panel will now change to things that I can do to
00:59affect the typography as well as the container of the object.
01:02So down here under text we can choose the different fonts, all of the built-in web safe
01:07fonts are in here as well, and later on in the course we'll be looking at adding web
01:10font into Edge Animate as well.
01:12So for now we'll just keep Arial, Helvetica, and generic sans-serif.
01:17To change to point size we can grab this object and move this up and down.
01:20We can also change measurements from pixels, percents, or ems.
01:25The next set of styles have to do with the weight, style, and text transformations, and
01:31text-decoration. Underneath there we can change the alignments. And then under this special
01:36area here we have the ability to change additional CSS properties.
01:40We can do letter-spacing by dragging this, word-spacing, we can set line-height, and we
01:46can set the indent for the first line.
01:48So again these are all standard CSS properties, and these are the things we can access inside of Edge as well.
01:54In the upper right-hand area of the text property we can even change the color.
01:58So I can click on this and come in and change the color of the text.
02:03So inside the text area in the Properties panel is everything that we can do to affect the
02:06typography of the text elements we created in Edge Animate.
02:09
Collapse this transcript
Importing content into Edge Animate
00:00Now that we've covered creating individual content elements inside of Edge, it's most
00:04likely that you're going to want to bring in content from other sources such as web
00:08graphics and SVG graphics.
00:10So as we explore bringing content into Edge we're going to work with our blank project.
00:14Inside of that project we're going to open the file called myProject.an.
00:19Now to import content into Edge we can come up to the File menu and choose Import.
00:24We can also go over to the Library panel and under Assets we can click on the plus (+) sign over here.
00:31In either case we're going to get the Import dialog box and be able to browse our operating system.
00:35Let's go into the Exercise Files.
00:37Let's go into Chapter_02 into Artwork and let's open red_apple.png. Then click Open.
00:44Once we do that we'll see that we have an Images folder that shows up inside of Assets
00:48and we have a file inside up here called red_apple.png.
00:52Now if we go back to the operating system and look at the project folder we'll see that
00:55Edge actually created an images directory and if I open this we can see the red_apple
01:00file inside of here.
01:01So what Edge is actually doing is it looks at the directory just like a web browser would.
01:06So as we add content into our project Edge is creating folders and putting all of that
01:10content inside of the folders.
01:12Now we can also manually add files to our Edge project.
01:16So with the myAnimateProject open let's come back to the Exercise File.
01:20Let's go into Chapter_02, let's go into Artwork, and let's drag a copy of the green_apple artwork
01:25into the images directory on our project on the desktop.
01:28Now that we've made this change let's switch back to Edge Animate.
01:32Now back in Edge Animate in the Library panel we'll see the images directory now has green
01:36apple in addition to red Apple.
01:38In some instances Edge might not show you this change.
01:41If it doesn't, you can simply close the Edge Animate file and open it up again.
01:45Every time the Edge Animate project opens it'll go through all of the assets in that
01:49folder and find all of the different assets that have been added into the images directory.
01:53Now to remove assets from our project, we don't actually delete them in the Edge interface.
01:56What we can do is come over here and right- click on any of these items, click Reveal in Finder,
02:02and then we can move these to our system trash and then go back to Edge and Edge will update its assets.
02:08So to demonstrate this I'll select the green_apple.
02:11I'll delete that, and I'll close this images directory, which is really just showing me
02:15this directory right here.
02:17I'll switch back to Edge Animate. Edge will warn me that the green_apple file has been deleted.
02:22I'll click OK. And then back in the Library panel we can see under Assets, under Images,
02:26we just have the red_apple.png.
02:29So as we work with our Edge project, we can always see all of the assets Edge is using
02:33by simply going to our operating system and looking at the files inside of our project folder.
02:37
Collapse this transcript
Manipulating content in Edge Animate
00:00Now I want to show some of the more advanced editing capabilities inside of Edge Animate.
00:04The first thing I want to demonstrate is the use of the RGBA color space, which allows for
00:09transparent colors.
00:10So let's come over here and select the text that says This is a red apple.
00:14Now in the Properties panel let's come down to the Color panel.
00:17This is currently set to Black.
00:19Let's click on the color swatch, and what I want to do here is let's come in here and
00:23change the color to white.
00:25In addition to the color you'll notice the Alpha setting down here, set to a 100%.
00:29This is actually the transparent setting used in CSS3.
00:32So if I click on this and drag this down, I can set this down to about 60%, and you'll
00:37notice that the text in the background is now 60% white, or 40% transparent.
00:43So now we can see the green background showing behind the type and we can use the RGBA color
00:47space inside of edge anywhere that we can assign colors to elements.
00:51To change text of an element we can simple double-click and that will bring up the Text
00:54dialog box, and in the bottom of the Properties panel there's also an accessibility option.
00:59So with the Text block selected let's toggle this open. We can give any element on the page
01:05a title and this will help with your search engine optimization and accessibility.
01:09We can even assign things a Tab Index.
01:12So let's come down here and assign this Tab Index 1.
01:15What this means is if somebody is looking at your webpage and they hit the Tab tool,
01:18the items will highlight in the browser in the order of the Tab Index.
01:22So again this is another accessibility feature of browsers and if you want to apply the accessibility
01:27rules to your project, this is where you can access those properties.
01:31Now the other more advanced editing tool I want to show you is the Clipping Tool.
01:34So I'm going to come up here and select the red apple that's place on the stage.
01:37Now up here in the Tools panel we have the clip tool here.
01:40So I can select this.
01:42And similar to the transform the Clip Tool just give us a really quick way to change
01:46the clipping, which is also a property area in the Properties panel.
01:50So I'll come down here and open the Clip area and you'll see that the Clip area has no property set so far.
01:56So what's going to happen is, with the Clip tool selected, let's come over here to the
02:00stage, I am going to move my cursor up here, I am going to start clicking-and-dragging
02:04and changing the clip of that property.
02:06Edge will show me with the diagonal lines here the size of the original image and inside the
02:11green area, the size of the clip area.
02:14Also notice down here in the clip area all of these properties have become available as well.
02:18So we can see that by dragging that top line we've actually changed that top to 25.
02:21If I click and drag this I can actually change this from here as well.
02:26So the Clip tool gives me a really quick way to change the same settings that we can change
02:30over here in the Properties panel.
02:32So I come back to the stage and click and move this.
02:35For those familiar with InDesign you'll recognize this little symbol here.
02:38This allows us to change the position of the object inside of this cropped area.
02:43So if I click and drag this item here you'll notice over in the Properties panel under
02:48background image you'll see that the X and Y position are actually changing.
02:53What I am doing here is modifying the background position of that element in CSS, but again
02:59I can do this in a very visual way on the stage inside of Edge Animate.
03:03Now in addition to just changing the crop I can come in here and actually change the
03:06size of the element inside of the background.
03:09As I make changes, you'll see all of the changes are showing up in the Properties panel under the image area.
03:14Again, I can come in here and make these changes inside of the Properties panel in addition
03:18to making them on the stage.
03:20So the tools in the toolbar in Edge Animate will give me quick ways to change multiple
03:24properties at once, or if I know the exact numbers of changes I want to make in the Properties
03:28panel, I can use the Properties panel to add specific numbers to properties I want to modify.
03:33
Collapse this transcript
Applying CSS filters to elements
00:00 In Edge Animate 1.5, we have the ability to manipulate the way elements look on
00:04 stage, using CSS filters. So it'll follow along.
00:07 We're going to go into the exercise files.
00:09 Inside of chapter 2, inside of filters. And let's open up filters.an.
00:13 Inside of this file, to demonstrate these properties, let's select the apple on the stage.
00:18 In the properties panel, let's open up the filters tab.
00:21 Now, inside of here, we have a whole bunch of controls that we can use to
00:23 manipulate the way this apple looks on stage.
00:26 We can change the invert to invert all of the colors.
00:29 We can change the colors by using q rotate.
00:32 We can change the contrast. If we bring the contrast all the way down
00:36 to zero, we can create a silhouette of that shape.
00:41 We can change the saturation. We can apply a sepia effect.
00:47 We can convert the entire image to gray scale, or any point in between, and we
00:52 can change the blur. Now, once you've made changes to these
00:54 properties, you'll notice that the x is highlightable over here.
00:57 If I click on these, what we'll do is remove these and set these back to the
01:01 original state. Now one thing to note is that most of
01:03 these properties will change colors of an element or an image.
01:06 So if you're working with a grayscale image, you won't be be able to manipulate
01:09 all of these properties. To demonstrate this, lets come over to
01:12 the library panel. Lets drag out a copy of
01:14 grayscale_apple.png onto the stage. With this selected, we'll come over here
01:18 to the filters. Notice, for example, I can change the
01:22 contrast But if I come over to the saturation, I won't see any change, and I
01:26 won't see any change on hue rotation either.
01:30 So if you know you want to use some of these filter effects on your graphics,
01:33 make sure that your graphics have colors inside of them, and then manipulate the
01:35 colors using these tools to match your design.
01:38 And lastly, we can apply some of these effects to text elements as well.
01:42 So I'll select this text layer here Come down into the filters.
01:46 And I come down here, for example, and apply Blur to this.
01:50 If I do have a color assigned, let's come in and change the color to red.
01:53 I'll hit Return, and with a color other than black, I can come in here and change
01:57 the Hue Rotation as well. And one final point I'll bring up, as I
02:01 make changes to these elements, if I do anything that's going to cause a problem
02:04 in any browser, you'll notice that Edge Animate will give me this little warning
02:07 signal on the lower right-hand side of the stage.
02:10 If I select this and open it up, it'll tell me which versions of the browsers
02:13 are not currently supporting some of these CSS properties, so in this case
02:17 here I can see that Firefox is going to have problems with some of these filters.
02:21 Now that we are familiar with applying CSS filters to our elements, we'll talk
02:24 about how to animate these properties in chapter 5.
02:28
Collapse this transcript
Applying CSS shadows to elements and text
00:00 In Edge Animate 1.5 and later, we have the addition of shadows.
00:04 So to follow along, we're in the Exercise Files, inside of Chapter_02, inside of Shadows.
00:08 Open up shadows.an. So to demonstrate these, let's select the
00:12 apple on the stage. With the apple selected, let's come over
00:15 to the Properties panel. Let's open up the Shadow area.
00:18 Inside here we have a toggle switch. I'm going to flip this on to turn on the
00:22 shadow, and then you'll see the shadow being applied to the object.
00:26 One thing you might notice right away is that the the shadow is being applied to
00:29 the box model, not the transparency of the PNG file that's inside of this graphic.
00:34 So over here on the x property, let's just grab the x and scrub this a little bit.
00:38 This controls the x offset. The y controls the vertical offset.
00:44 We can control the blur, the spread. The spread controls how many more pixels
00:51 are being added to the original shape. So if our graphic is 100 pixels and we
00:55 set the spread to 17, we'll get 117 as opposed to the original 100.
01:00 And then lastly under color. Let's click on the color swatch.
01:03 We can control the transparency with the slider here on the far right, which
01:06 controls the alpha setting. Then the individual color by coming in
01:10 here and picking the color. Now the fact that the shadow is applied
01:13 to the box model, is also true for SVG graphics.
01:17 So in the library panel, let's drag out star.svg, drag this on the stage.
01:22 Lets come over to our shadow area. Let's switch that on.
01:26 And you'll see that when we apply a shadow to an SVG, we get the same effect
01:29 as applying a shadow to a PNG file. Now shadows with text will behave a
01:32 little differently because the browsers do understand the letter shape of the
01:36 characters here. So with the text object selected, let's
01:39 open up the shadow. Let's turn this on, and now you'll notice
01:42 that the shadow now conforms to the individual letters.
01:46 So we are getting a transparent drop shadow effect based on these letter shapes.
01:50 And now that we're familiar with how to apply drop shadows to elements, we'll
01:53 talk about how to animate this property in Chapter Five.
01:56
Collapse this transcript
Creating CSS gradients
00:00 In Edge Animate 1.5 and later, we have the ability to create gradients.
00:04 So to follow along, let's go into the Exercise Files, inside of Chapter 2,
00:07 inside of Gradients, open up gradients.an.
00:09 To demonstrate how to create a gradient, we're going to come over here to the
00:14 Rectangle tool, in the Tools. Come down to the Stage.
00:19 Let's click and drag your rectangle. Once we have this drawn, let's come over
00:22 here to the Color area inside of the Properties panel.
00:24 This middle swatch here is the Gradient Grader, let's click on this.
00:29 Inside of this dialog box, on the left hand side, we see two stop points.
00:32 If I click on one of these, this will activate a color for the gradient.
00:35 We'll see immediately on the stage, a gradient's being created.
00:39 With this top one selected, let's come in here and define medium green.
00:46 For the moment, I'll leave the bottom white.
00:48 I'll hit Return, this creates a gradient. I want to put this behind the apple.
00:52 Let's come up to the Modify menu, choose a Range, and then send to back.
00:57 Now, as soon as we create a gradient, we'll see a warning here, in the lower
01:00 right hand side. This is Edge Animate's way of telling us
01:03 that there's a browser that will have problems with this.
01:05 If we open this up we can see that CSS gradients are not rendered by IE9.
01:10 We'll close this. So what we're going to do is come over to
01:12 the background color. And what we're going to do is come over
01:14 to the background color. And what we're going to do is come in
01:16 here an just select a solid color. So, that IE9 will show us the solid
01:20 green, where other browsers will show us the gradient.
01:23 Now, another great feature of gradients is that they can be semi transparent.
01:26 To demonstrate this, let's come over to the Library panel.
01:29 Under images, lets grab wood.jpg. Let's drag this to the lower left hand
01:34 corner of the stage. With it selected, Modify menu.
01:38 Let's send it to the back. Next, select the gradient on top.
01:43 Let's first come over to the background color.
01:45 Let's select this. Let's come over to the Alpha slider.
01:49 Let's drag this all the way down, hit Return.
01:52 Next, let's go into the gradient. Let's select the top gradient color.
01:56 We'll set this to white. Then come over to the Alpha slider.
01:59 Drag this all the way down to zero. Select the bottom color.
02:04 Let's come in here and select a reddish brown that matches this wood background.
02:11 Add a little bit of orange to this, bring this down to here.
02:15 On the Alpha slider let's drag this down, bring this to around 50%.
02:20 And I can tell this is 50 % by looking at the RGBA settings here, we see red,
02:24 green, blue, and then the last color here is the alpha.
02:26 So 0.49 is close to 50%. Now that's in place, I'll hit Return.
02:31 So what the semi-transparent gradient does, is allows me to add a little bit of
02:34 depth to elements that are already on my stage.
02:37 So to see the difference, I'll come in here and just close this down a little bit.
02:41 And you can see the JPEG image here, and what the JPEG looks like with a
02:44 semitransparent gradient here. So, gradients give us another design
02:48 element that we can use in our compositions, and semitransparent
02:50 gradients give us a way to add depth to elements already in our composition.
02:54
Collapse this transcript
3. Preparing Content for Use in Edge Animate
Preparing content with Adobe Photoshop
00:00The first thing we're going to do is create some slices.
00:02So let's open up the file sliced_apples.psd, and a feature I use all the time in Photoshop
00:08is the Slicing Tool.
00:10You can find the Slice Tool by clicking and holding on the Crop Tool, coming down and
00:14choose the Slice Tool.
00:15Now I have one slice already created.
00:18If you hold the Command or Ctrl key, double-click on the slice.
00:22This will bring up the Slice Options dialog box for the slice that I already created and
00:26I will name this red_apple. Let's click OK.
00:29With the Slice Tool selected let's click and drag a slice around the green apple.
00:34Once you've drawn the slice double-click inside the Slice Options, let's name this green apple, click OK.
00:40Now that we have two slices defined on the canvas let's come over to the Layers panel,
00:44let's turn off the background layer.
00:47Next let's come over to the File menu, come down and choose Save for Web.
00:51If you're using earlier versions of Photoshop this menu item will say Save for Web & Devices. Select that.
00:58Inside of this dialog box here we can click on the individual slices by selecting the
01:02Slice Tool on the upper left- hand corner of the dialog box.
01:05With the slice selected in the right-hand side, we can pick the file format we want to save out as.
01:10So let's change this from a GIF to PNG-24.
01:14This will give us a PNG file with 16 bits of color and 8 bits of transparency.
01:18Let's select the green apple, set that to PNG-24, then come down and choose Save.
01:24The next dialog box will ask us where we want to save our project.
01:27Let's come up to the myAnimateProject on the desktop, choose the images directory, and
01:32under Slices make sure All User Slices is selected.
01:35This tells Photoshop to only save out the slices that we drew and all the other slices
01:39that it used to create the rest of the canvas are going to be ignored. Then click Save.
01:45Back to our operating system, inside of the images directory we'll see the green_apple.png
01:49and the red_apple.png.
01:51So each of these individual graphics was created from one Photoshop file.
01:56Let's come back to Photoshop.
01:57Let's close our file.
01:58And you can choose Save and all the slice data will be saved with your file.
02:03Next let's come back to the operating system.
02:04Let's open animated_apple.psd.
02:07Another file format that Edge Animate supports is animated GIFs.
02:11So to get to the Animation panel let's open up the Window menu and come down and choose Timeline.
02:16If you're using earlier versions of Photoshop, this panel will be called Animation.
02:21Now with the Timeline panel open select the very first frame.
02:25Let's come over to the Layers panel.
02:26Let's turn on the background layer just so we can see the different states.
02:29Now as we click through the different states you'll see that each frame of our Animation
02:33panel will show the visibility set for different layers and we can also see a representation
02:38of the artwork up in the canvas area.
02:42Underneath each frame we can see the delay.
02:43So the delay is set to .1 seconds for all of these and a 3 second delay on the first
02:48one, and the looping setting underneath is set to Forever.
02:53So with the first frame selected let's hide the black background layer.
02:56Now that we can see all frames contain transparency, let's come up to the File menu, let's choose Save for Web.
03:03Inside this dialog box make sure we have the GIF file format selected.
03:06For the Matte color come down and choose Black.
03:10We want to have the edges of the PNG, matte to a black color.
03:14You can also come down here and play the animation inside this dialog box.
03:17It'll be little difficult to see, but you can actually see the highlight playing in
03:22this upper right hand corner here, and let's hit Save.
03:28From the Save As dialog box let's go into myAnimateProject.
03:30Let's choose the images directory and then hit Save.
03:34Now we'll save our Photoshop file and close it.
03:37Let's come back to the project folder on the desktop and open up the myProject.an file.
03:42Now inside of our Library panel we can see the green_apple.png, we can see the red_apple.png,
03:46and even animated GIF.
03:48Now a really nice feature of Edge Animate is when we put an animated GIF on the stage
03:52we can actually see the animation play.
03:55So with nothing selected, and we have the stage showing up in the Properties panel, let's come
03:59over here to the background color, let set that to black, let's come over to the Assets
04:04panel, and let's drag the animated gif apple on the stage.
04:08So one of things that Edge will do as we have an animated GIF on the stage it will actually
04:12play the animated GIF while we're in our Design view.
04:15So this gives us the ability to see what the animated GIF looks like and how it plays as
04:20we use it in our compositions.
04:21
Collapse this transcript
Preparing content with Adobe Illustrator
00:00So very similar to tools like Adobe Fireworks and Adobe Photoshop, Illustrator has a slicing tool as well.
00:06To see the slice I have already created, come up to the View menu, come down and say Show Slices.
00:11Once you show the slices, you will see a slice around the red apple.
00:14Let's come over here to the Toolbar.
00:17Let's click and hold on the Slice Tool, select the Slice Tool and we are going to click and
00:21draw a slice around the green apple.
00:23Now, to change the Slice Properties, with the slice selected, come up to the Object
00:28Menu, come down to Slice, and go to Slice Options.
00:32Here, we are going to name this green_apple, then click OK.
00:39That's going to be the name of this individual slice when we save this out.
00:42Now, the idea behind slicing is that we can create these slices on one large canvas inside
00:47of Illustrator, and then when we use the Save for Web, we will get individual graphics that
00:51contain all of the art inside the individual slices.
00:54So, to save these out, we're going to choose the File menu, come down to Save for Web.
01:01Inside this dialog box, in the upper left- hand corner with the Slice Tool selected, let's
01:04grab the first slice.
01:06In the upper right-hand corner here, make sure we have PNG-24 selected.
01:10This will give us 16-bit color with 8 bits of transparency, which will give us semi-transparent pixels.
01:16Select the green apple.
01:18Let's come up here, and let's assign this PNG-24 as well.
01:20Now that both of these are assigned, under the Export Menu, let's choose All User Slices and then let's hit Save.
01:29From the Save As dialog box, let's choose myAnimateProject.
01:33Let's select the images directory, and then hit Save.
01:36Now, we can close our Illustrator file.
01:38You can save this if you want, and the slices will be saved with that file.
01:41Back to our operating system, inside of our Project folder, let's open up the images directory.
01:45Inside of the images directory, we'll see green_apple.png and red_apple.png.
01:49So now with our two graphics created, let's come back to our Exercise Files inside of
01:54Chapter_03, inside of Using Illustrator.
01:57Let's open up background.ai.
01:59Now, another format supported inside of Edge Animate is SVG, or Scalable Vector Graphics.
02:04So what we're doing here is creating a really large graphic for the background inside of
02:08Illustrator, and we are going to save this out as an SVG file.
02:11With this file open, if you come over here to the Artboard settings, click on the Artboard,
02:16and then look at the Tool Panel at the top,
02:18we'll see that the artboard in Illustrator is set to 1500 pixels wide by 1500 pixels tall.
02:23If we were to save this out as a GIF or a PNG or even a JPEG, we would get a really huge file size.
02:28However, saving this out as SVG is going to give us a file size that's under 2 kilobytes.
02:33So we are going to get a really small file, and still be able to get a graphic that's 1500x1500 pixels.
02:39Now, to create an SVG from Illustrator, let's come up to the File menu, let's choose Save
02:43As, from the Desktop choose myAnimateProject.
02:48Let's select Images, under Format, let's come down and choose SVG. Let's hit Save.
02:55Under the SVG Options, let's choose SVG 1.1.
02:59Next, under Type, let's come down and choose SVG and then simply hit OK.
03:04Now, let's close the file in Illustrator, let's come back to our Desktop, and let's
03:08open up the myProject.an file in Edge Animate.
03:12So, inside of Animate, in the Assets Panel, we will see the Images directory.
03:16We can see the red_apple.png, the green_apple.png, and the background.svg.
03:20In order to use any of these graphics including the background.svg, we can simply grab these
03:25and drag and drop them right inside of the main stage, inside of Edge.
03:28So here is that really large graphic we created in SVG.
03:32So again, the file size is really tiny, but we get to use this giant graphic with very
03:36little file size inside of Edge Animate.
03:39Now, before you use SVG in your project, you want to make sure that the targeted browsers support SVG.
03:45So there's a great website called caniuse.com, and they have a bunch of different technologies
03:50and different browsers that are supported, and one of the sections is on SVG and HTML5.
03:55So again, I would definitely recommend checking out the specific browsers you want to target
03:58before using the SVG format.
04:00
Collapse this transcript
Preparing content with Adobe Fireworks
00:00From the Fireworks Splash Screen, let's come over here and choose Open.
00:03Let's come over to the Exercise Files>Chapter_03>Using Fireworks.
00:08Let's open the sliced_apples.fw.png.
00:13So here, we want to create some slices where we have a large canvas inside of Fireworks
00:17and I want to create individual pieces of art.
00:19So I have one slice that's already created here.
00:21When I select this item, we can see that this is actually named red_apple in the Web Layer
00:25inside of the Layers Panel for Fireworks.
00:28So let's create a second slice.
00:30Over in the Tool Panel, under the Web grouping, let's come over here and select the Slice object.
00:35Let's come over to the stage.
00:37Let's click and drag and create a slice around the green apple.
00:39Now, with this slice still selected, let's come over to the Web layer, let's double click that Slice label.
00:41Now to set the type of file that's going to be saved out, let's come over here and open
00:46Let's name this green_apple. Then, hit Return.
00:54the Optimize Panel.
00:56I am actually going to grab this panel and just drag it out of the interface.
01:00Now, with the slice selected, we can see that this is being set to a GIF file.
01:04Let's change this to a PNG 8.
01:06Now, one of the nice features in Fireworks is that a PNG 8 can also contain semi-transparent pixels.
01:11If you use Illustrator or Photoshop, this is a feature that's not available in those applications.
01:15So, this means that my PNG file will be much smaller, but I will still maintain my transparent edges.
01:20You also want to make sure to only use this if you have a graphic that doesn't have a
01:24lot of tonal ranges because we only have 8 bits of color instead of 16.
01:27But, since these graphics are actually illustrations, the 8-bit color will actually represent the
01:32graphics pretty well.
01:33If I come over here and select the red apple, you can see I've already set that to PNG 8.
01:36So now with these slices created, let's come up to the File menu.
01:40We are going to choose Export.
01:43Inside the Export dialog box, first let's come down to the Export dropdown menu.
01:47Let's change that to Images Only.
01:50Make sure Export Slices is selected.
01:52Let's uncheck Selected Slices Only and uncheck Include Areas without Slices.
01:57Next, let's go into the myAnimateProject.
01:59Let's choose the images directory, and let's hit Export.
02:04Let's close our Fireworks file.
02:05Let's choose Save since Fireworks will save all of the slice data with that file.
02:10Let's come back to the operating system.
02:12And when I open the Images directory, we will see red_apple.png and green_apple.png.
02:17Now that we have our slices created, let's come back to Fireworks, let's choose Open,
02:22let's go into the Exercise Files>Chapter_03>Using Fireworks and let's open the animated_apple.fw.png.
02:29Now here, we have an animated GIF that's being set up inside of Fireworks.
02:33So, I have the Optimization Panel open here.
02:35I am going to move this over to the left.
02:37I am also going to come over here and open the Sates Panel and just drag this out.
02:41Now, the States Panel allows me to capture different states of the Layers Panel.
02:45So, if I come over to State 4 for example, we can see that shine 3 is showing here.
02:49And as I step through these, there is an animation that's happening over here on the right-hand
02:53side of the apple, this little shine.
02:55This might be a little hard to see here, but we can see this pretty clearly inside of Edge
02:58Animate once we put this on a dark background.
03:00So, in the Optimization Panel here, we have Animated GIF set to the file type we are going to create.
03:05We have a Matte color here.
03:07Let's come over here and set the Matte color to Black since we are going to put this on a dark background.
03:12Now let's save this file.
03:13Let's choose File>Export.
03:15From the Desktop, go into myAnimateProject, select the images directory, and then hit Export.
03:21Let's close our Fireworks file. You can save this.
03:23And back to our operating system, now we can see shiny_apple.gif is created inside of here as well.
03:29So now that we have the artwork created, let's come in to our myProject.an file inside of Edge Animate.
03:34So, inside of Edge Animate, inside of the Assets in the images directory, we can see
03:38green_apple, red_apple, and shiny_apple.
03:40Now, a nice feature of Edge Animate is when we bring an Animated GIF on to the stage,
03:45it will actually play the Animated GIF while we are in our Design View.
03:49So let's come over here to the Stage property.
03:51Let's set the background color of the stage to black.
03:54Then let's come over here to our Assets Panel and let's grab shiny_apple.gif and just drag
03:59it on to the stage.
04:00Now, with the Animated GIF on the stage, we can see that the Animated GIF is actually
04:05playing while we are in the Edge interface.
04:07
Collapse this transcript
Preparing content with other graphics tools
00:00Now, since Edge Animate works with standard web graphics, we can use any tools to create
00:05standard web graphics.
00:06So, any application that you use that can create a PNG, a JPEG, SVG, GIF, or Animated
00:12GIF can be used as a tool to create assets that you can bring into Adobe Edge Animate.
00:17And in any of these cases, you can add an images directory to your Edge Project or you
00:21can use the plus sign in the Assets area inside of the Library Panel to import those graphics
00:26into your Edge project.
00:27
Collapse this transcript
4. Composing Layouts in Edge Animate
Creating a composition
00:00Now, for this composition, I have the Stage size set to 800x400 pixels.
00:04That doesn't leave me a lot of room inside here to work with the size of the recording.
00:08So I am going to come in here and switch the View down to 75%.
00:12Now, over here in the Library Panel in the Assets section, we can see the images directory,
00:17and all of the graphics in here.
00:18So, let's start by grabbing the wood.jpg file and just drag and drop this right on the stage.
00:23You'll notice that this graphic is much wider than the stage.
00:25We are actually going to be using some responsive design techniques on this later on in the course.
00:30However, for right now, we are going to drag this down to the bottom and align it to the
00:33left and bottom area, and Edge actually has smart guides and the Snap is turned on automatically,
00:40so the graphics will sort of stick to the corners when we get close.
00:43Now, with the floor in place, let's come over here, let's grab background.svg.
00:46Let's drag this in.
00:49This is a graphic we got from Illustrator.
00:51It's 1500 pixels by 1500 pixels, but it's an SVG file, so the file size is really tiny.
00:56So, I am going to move this over here.
00:59Now, I want to change the layering of these elements, and I have a few ways that I can do that.
01:04First, if I look up in the Elements Panel here, I can see the order that Edge is creating,
01:08all of the HTML elements.
01:10So I can simply grab the background layer here, and just drag this down to be under
01:15the wood layer, and we can see that change take effect.
01:18We can also modify artwork that's selected by coming up to the Modify Menu, coming down
01:22to Arrange, and move items forward and backwards using the Menu items.
01:26There are also keyboard shortcuts as well.
01:30So back on the stage, I have these items exactly where I want them.
01:32I am going to come down to the Timeline area, and I am going to click on the padlock here
01:37to lock the background and the wood layers in place.
01:40This way, I can no longer select these items, and as we build the rest of the composition,
01:44I won't accidentally move these.
01:45Next, we are going to put the basket together.
01:47So, let's come over to the Assets.
01:50Let's grab basket_bottom.png.
01:53Let's move this down to about right here.
01:56Let's come back, let's choose basket_back.
01:59We'll place this about right here for now.
02:02Let's come over and grab basket_front.
02:05Let's move that into place.
02:07Now, we can use our arrow keys to get really precise movements, or again, you can go into
02:11the Properties Panel and actually put-in specific numbers.
02:16So I want to move those into place so that they look like they match perfectly.
02:18I am going to select the first item, and the second item, and we are going to move these
02:23down so that they sit on top of the background_bottom.
02:25Again, I will use my arrow keys to sort of position these.
02:29Next, let's come over and grab basket_handle_right, drop this on the stage.
02:34And again, we'll move this around so that it matches the artwork in the background,
02:38and then let's grab basket_handle_left.
02:41Now, I can see I got a little bit of space here, so let's grab both handles, and just
02:47let's arrow that down a little bit.
02:49So now that I have all five items for the basket in place, let's come down to the Timeline.
02:53I am going to grab the very first item, hold the Shift key, grab all of the basket items
02:58and now I can move all of these on the stage together.
03:01Now that I have those where I want them, let's unselect those items.
03:04Let's come back and let's grab the chalkboard.png.
03:06We will move this to about right here.
03:11And then lastly, let's come over and grab the chain.png.
03:15Let's move that into place.
03:17Let's align the bottom of the chain with the little hole in the chalkboard.
03:20I've got the first one in place.
03:23Let me select the first one.
03:24I am going to hold the Option key on Mac or Alt on Windows, and the Shift key, I am going
03:28to drag out a copy and position it over to the right.
03:32So now I have two instances of the chain graphic on the stage.
03:36So, as you can see, the way that we construct compositions inside of Edge is very similar
03:40to tools like InDesign, Illustrator, Photoshop where we can use things like Option+drag and
03:45get Smart Guides to position items around, and have them snap to the corners of the pages
03:49or snap to each other.
03:50
Collapse this transcript
Adding and arranging elements
00:00So inside of our composition, we have all of these elements that we put on the stage.
00:03We have constructed this basket with five different pieces.
00:06This way, we can get the illusion of a three- dimensional shape and use layering to make it look like
00:11we are going to put apples inside the basket.
00:12Now, the first item we are going to add to the stage is going to be one of the red apples.
00:16So let's come over to the Assets.
00:18Let's grab red_apple.png, drag this onto the stage.
00:21You will notice right away in my composition, the apple is behind a bunch of other layers.
00:25So, with the apple selected, let's go up to the Modify Menu, choose Arrange, and then Bring to Front.
00:31That will bring the apple all the way to the front.
00:33In the Timeline Panel, you'll also notice that red_apple now shows up at the very top
00:37of the timeline, and we can actually use the timeline to click and select individual items.
00:43So, with red_apple selected, I am going to move this down, so that it just overlaps the chalkboard.
00:48I am going to hold the Option key, or Alt on Windows, click and drag, and create a second apple.
00:54So this apple, I want to make it look like it's going to be inside the basket.
00:58I also want to make sure I am on the Transform Tool.
01:00That will give me the ability to scale, rotate, and resize this image quickly.
01:04So, let me grab this.
01:06Let's move it over here.
01:07I am going to scale the apple down a little bit, holding the Shift key to constrain my
01:12proportions, and I want to make it look like the apple is inside the basket.
01:15So I am going to use the keyboard shortcuts, use Command or Ctrl, and the left-bracket to move this back.
01:22Each time I click this, you will see down in the Timeline Panel, the red apple is now
01:26behind the handle_left.
01:27So, I will move this back two more times, and now we will see that the red apple is
01:31now behind the front of the basket, but I also need it to look like it's in front of
01:35the left-hand side of the handle.
01:36So, I am going to come back here, click on the handle using Command+[ or
01:42Ctrl on Windows, I am going to move the left side of the handle back so that the apple
01:46is now in front of both of those.
01:47So now I get the illusion that the apple is actually inside of the basket.
01:51So, if I select the apple and move this around, you will see that it's still behind the right-hand
01:55side of the handle but in front of the left- hand side, and it's in front of the back of the
02:00basket but behind the front of the basket.
02:03We can see where this breaks down, if I move this over here to the left, or up above where
02:08we have the two parts of the handle connected.
02:10But as long as I stay within these areas, I get the illusion that the apple is actually
02:14inside of this basket.
02:16So let's do a few more things.
02:17I am just going to rotate this a little bit, move it down into place.
02:22Let's Option+drag another copy of the apple.
02:24We will rotate this a little bit to the right, move this over here.
02:29Now, let's come over to our Assets Panel.
02:32Let's grab a copy of green_apple.png, scale this down a little bit.
02:39Let's move this over into place, and I'll use my Command+[ to move that apple to the back.
02:44I can also use my arrow keys to move this down.
02:49Hold the Option key, drag a copy of the green apple.
02:52Just move this to the front here and just rotate this a little bit.
02:56Now, I am going to use Command+] to bring this forward.
03:00I want it in front of the apple on the right, but I want this one to be in front of that.
03:05So let's select this.
03:06Let's move this forward.
03:08So Edge allows me to reuse individual graphics throughout my composition.
03:12Our Transform Tool allows us to rotate and manipulate things on the stage, and then the
03:16arrangement capabilities allows us to pick where the individual items fall on the stage,
03:21giving us rather complex control over the stacking order of the elements on our page.
03:25
Collapse this transcript
Adding text to your composition
00:00So here we have a composition created and we want to add a text block over top of the chalkboard.
00:05So first, we are going to come up to the Text Tool, then we are going to come down in the
00:09stage and click and drag and draw a text block that's the size of the chalkboard area.
00:14As soon as I let go, we'll get a dialog box inside of Edge Animate with a Text property.
00:17What we are going to do in here is type, An apple a day... .
00:24You can see right away the text is actually being applied here.
00:27We can't add text directly to the stage, all text that we set inside of Edge Animate has
00:31to be set inside of this dialog box.
00:33So let's click to close that.
00:35With the text box selected, let's come over here and change some of the properties.
00:39For the color, let's come in here and set this to white.
00:42Let's also come over here to the Alpha setting and let's drag this down to about 80.
00:46That will give us some semi- transparency on the text. Let's click away.
00:51Next, let's come over to the Type Size, let's click and drag this and as we drag this slider
00:56up, we can see the type is actually rearranging inside of the bounding area of the type block we set.
01:02So let's keep this set about right here.
01:05Once we have the size that we like, let's come over and resize the box.
01:08I am just going to move this down a little bit so the type doesn't get too close to the
01:11edges of the blackboard.
01:14Then I'll use my Arrow keys to just sort of move this into place.
01:19Now over here for Font, I just have Arial, Helvetica, these are just website fonts, later
01:24on in the course, we'll talk about how you can add custom fonts into Edge Animate and
01:28then we can choose some fonts from online services that look a little bit more like handwriting.
01:33So now with all of these elements in place, we have just completed creating a rather complex
01:37composition inside of Edge Animate.
01:39
Collapse this transcript
5. Animating Elements
Activating properties to animate
00:00To begin animating elements inside of Edge Animate, we're going to work with some projects
00:04that I have already set up in the Exercise Files.
00:06And as I mentioned earlier, if you're familiar with other animation tools like After Effects
00:11or Flash or Sencha Animator, I have some dedicated chapters at the end of this course that show
00:16you the specific differences on migrating from workflows and those other tools into
00:20the workflow for Edge Animate.
00:21Now, all I've set up in here is just a blank stage set to 500x300 pixels, and I have two
00:26images in the Assets folder.
00:28So, let's come over here and grab the red_apple.png, and just drag to the stage.
00:33Let's position it over to the lower-left hand side.
00:36Now, once we drag something to the stage, we can see that that item actually shows up
00:39in the timeline as well.
00:40So, I can see my image object showing up down here in the timeline.
00:43And what we're going to do here is let's animate the X property or the horizontal.
00:47Now, if we come over to the Properties Panel, and I come over here to the X property, I
00:52can grab this and slide this back and forth and change that value.
00:55So, with this over toward the left, what I'm going to do is click on this little keyframe
00:59right here right next to the X property.
01:02When I click on this and we come back down to the Timeline Panel, we'll see that we have
01:05a white diamond keyframe showing up here.
01:07This tells Edge that we want to pay attention to that particular property at this point in time.
01:12And the playhead is set to 00.
01:13Now, what we're going to do is grab the playhead.
01:16Let's drag this out to 1 second, and in the Timeline Panel next to the left property,
01:21I can add another keyframe.
01:22So, I can either do that here or in the Properties Panel.
01:25So I'll click a second keyframe which will give me our second keyframe here.
01:29Let's come up to the stage.
01:30Let's grab the apple.
01:31I'm going to hold the Shift key and just drag this over toward the right.
01:34As soon as I let go, notice the keyframe turns from being a solid diamond to a hollow diamond.
01:40This indicates that there has been a change in the position of the Left or X property
01:44along the timeline, but we don't have a transition in place.
01:47So, if we grab the playhead, the apple will snap to the first position, and it will hold
01:53this position as we move into here until the playhead gets to the second keyframe, and
01:57then it will snap into place.
01:59So, to create an animation, we're going to come down here, select this keyframe, right-click
02:04on it, and come down and choose Create Transition.
02:08Once we do that, Edge will now create all of the intermediate frames that it needs to
02:12create an animation from the first keyframe to the last keyframe.
02:15Now, if we grab the playhead and drag it back and forth, we can see the animation was created.
02:20You can also preview this by coming over here in the Timeline Panel in the upper-left of
02:23that panel, clicking on the Play button.
02:27Now, we can see we have our animation in place.
02:30So now that we have a simple animation in place, let's add a few more properties to this animation.
02:35Let's grab the timeline playhead, bring it back to the 00 mark, let's come up here to
02:39the Properties Panel, and in the very top area here, let's activate Opacity.
02:43I am going to click on this keyframe item, down in the Timeline Panel, Opacity is now
02:48another property that Edge Animate will pay attention to for that particular object.
02:51Right now, it's set to 100%.
02:54Let's grab the opacity.
02:55Let's just scrub that down to 0.
02:58Let's grab the playhead, drag it back to 1 second.
03:03Under Opacity, in the Timeline, let's click the Add keyframe.
03:06With the keyframe added, let's come over here, and let's scrub this up to 100%.
03:12We'll see that keyframe now opens up to look like a hollow keyframe like we saw before.
03:16Let's select it, right-click, and choose Create Transition.
03:20Now, if we scrub the timeline, we are animating the x value and the Opacity.
03:24So now we have two elements that are animating on this object.
03:28Let's bring our playhead back to 00, and let's add in one more property.
03:31So let's come up here and activate the Y-axis.
03:36Let's grab the apple artwork, which is now transparent. We'll move it up.
03:41Let's move the playhead back out to 1 second, activate the Top property, which is the Y-axis.
03:47We'll move this down to approximately the position it was before.
03:53That keyframe opens up.
03:54Let's click it, right-click, say Create Transition.
03:59Now we're animating three properties: the X and the Y, which give us a diagonal movement, and the Opacity.
04:05Click Play to preview the animation.
04:08Now, when you start looking at the Properties Panel, you'll notice that almost every property
04:13here has the ability to keyframe individual items.
04:16Anytime you see these little keyframe indicators, this lets you know that Edge can record those
04:21particular properties and then animate each one of these over time.
04:24Now, in this movie, we did what we call manual animation.
04:28We manually set the keyframes and manually set the transitions.
04:31Next, we're going to talk about tools inside of Edge Animate which can automate some of
04:35these processes for you.
04:36
Collapse this transcript
Using Auto Keyframe and Auto Transition
00:00Now we're going to look at some features inside of Edge Animate which will help us create
00:03our keyframes and transitions for our animations.
00:06In the previous lesson, we created a very simple animation, but we had to track all
00:10of our keyframes and generate all of our transitions manually.
00:13What we're going to do in this movie is use some features in the timeline.
00:17So first, let's come over to the Assets Panel, let's grab red_apple.png, and just drag and drop this on the stage.
00:23Next, we'll come down to the Timeline Panel and what we want to do down here is activate
00:27these first two buttons here.
00:28The first one is the Auto-Keyframe and the second one is the Auto-Transition.
00:33This will allow Edge Animate to pay attention to the properties that we change and automatically
00:36generate keyframes and transitions.
00:38So, with the apple selected, let's come over to the Properties Panel, let's activate the X-axis.
00:43Once we do this again, we'll see the keyframe show up in the timeline.
00:46Now, all I'm going to do is come up here and grab the playhead.
00:50Let's drag this out to 1 second.
00:52Let's come up to the stage, and let's simply grab the apple.
00:55I'm going to hold the Shift key and just slide it over to the right.
00:58As soon as I let go, you'll notice down here in the timeline, we see the two different
01:03properties are recorded as keyframes, 41 pixels for the X property and 313 for the X property
01:09at 1 second, and notice we also got a transition in here.
01:12So, if we come up here and grab the playhead, drag it back and forth, Edge automatically
01:17created an animation for us.
01:19All we had to do was simply activate the X property and then make a change on the stage,
01:24and Edge Animate created the keyframes and the transition for us.
01:27So now let's come in here and add another property.
01:29I will drag the playhead back to the 0 time marker, come up to the Properties Panel.
01:34Let's click on Opacity.
01:35Now, we'll come down to the Timeline.
01:39I'll scrub the Opacity value down to 0, move the playhead back out to 1, and then simply
01:45come back to the Opacity setting and just scrub this up to 100.
01:48As soon as I let go, I'll get two additional keyframes on Opacity, 0% opacity and a 100%
01:54on this keyframe here.
01:56And again, the transition was generated automatically.
01:57So, if we come up here and click the Play button, we can preview the animation.
02:02So again, that's very similar to what we did in the last lesson, however, much fewer steps.
02:08Now, we'll add in two more properties.
02:11Let's drag the timeline back to the 0 marker.
02:13Let's come over to the Properties Panel, let's activate the Y-axis and let's also activate the Rotation.
02:21Now with the Y and Rotation set, let's grab the object. Let's move it up.
02:28Let's drag our playhead out to the 1 second mark.
02:32Let's come up here and grab the apple, and just drag it back down.
02:34That will create an animation on the Top setting here, which is the Y-axis.
02:39And then let's come in here to the Rotation and set this to 360 degrees.
02:44Now, if we play the animation, we'll get the Opacity.
02:48We'll get the X-axis, the Y-axis, and the Rotation in place.
02:52So, combining the Auto-Keyframe Tool with the Auto-Transition Tool allows you to create
02:56animations much more quickly inside of Edge Animate.
02:58
Collapse this transcript
Animating with the Toggle Pin
00:00One of the most unique and interesting features for animation inside of Edge Animate is the Toggle Pin.
00:05Now, inside of Edge Animate, I just have a project here that simply has two graphics
00:09on the stage, the red apple and the green apple.
00:11So what we're going to do is come down into the Timeline Panel.
00:14We're going to turn on Auto-Keyframe.
00:16We're going to turn on Auto-Transition, and we're also going to activate the Toggle Pin.
00:20Once I select this, you'll notice that above the playhead is this little blue icon here.
00:25What we can do is grab this little blue icon and move this independent of the playhead.
00:30So, let's drag this out to the 1 second mark.
00:34This blue indication here shows me that Edge is going to create an animation that's going
00:37to resolve at this point here to match what we see on the stage.
00:42So now, we're going to come up here.
00:43Let's grab the red apple.
00:44I'm going to simply hold the Shift key.
00:45I'm just going to drag this off the stage to the left.
00:48As soon as I let go, what Edge Animate will do is create both keyframes for the X property,
00:54or the Left CSS property, one at -145 creates a transition, and then sets the second one
01:00to 105. 105 is where the Apple was originally when we started this.
01:04So, if I come up here and grab the playhead, click and drag, you'll see that the animation
01:09will come all the way out to 105 on the X, giving us exactly the same composition that
01:15we started with, even though we were working from the 0 marker of the playhead.
01:19So, I'll bring the timeline back to the 0 marker.
01:22We still have the Toggle Pin enabled up to 1 second.
01:25Let's grab the green apple, and drag this off the stage toward the right.
01:28Now we have two animated elements.
01:29I'll hit the Spacebar to preview the animation.
01:32We'll see that both apples animate from off the stage and meet right in the middle, matching
01:36again exactly where we had the composition set up when we started the animation.
01:40Now, the Toggle Pin is doing one other thing for us as well.
01:43We don't have to activate specific properties.
01:46By simply changing things on the stage, the Toggle Pin will automatically track what properties we're moving.
01:51So, by changing the X-property for each individual graphic, the Toggle Pin automatically set
01:56keyframes for the Left property.
01:57So, let's grab the playhead, bring it back to the 0 marker, and let's activate another property.
02:01I'm going to come up here and Shift+select both apples, so I have the red apple and the
02:06green apple selected.
02:08Let's come up here to the Opacity.
02:10Let's move this down to 0.
02:12And now you'll see that the opacity is now being added in to those animation properties.
02:16Now, the other way we can use the Toggle Pin is in reverse.
02:20So, with the Toggle Pin still enabled, I'm going to come down here and grab the playhead,
02:23and I'm going to move the playhead out to the 2 second mark.
02:27So now what we're doing here is very similar to our traditional animation where we're actually
02:31animating to this second destination.
02:34But again, the Toggle Pin will also keep track of items that are changing.
02:37So, what I'm going to do is grab each apple, drag them to their respective corners, and
02:41then notice that Edge Animate will create a transition from the position that the apples
02:46were in to the new position where the playhead is represented.
02:49So, let's come in here.
02:51Let's turn off the Toggle Pin.
02:52Let's drag the playhead back to the beginning. We'll hit Play.
02:56And we'll see the two apples will animate to the center and then move back to their
03:00respective corners.
03:01So, as you can see, the Toggle Pin is a really unique feature.
03:03It allows us to work with a composition for where we want our animation to resolve, but
03:08still work at the 0 time marker and be able to sort of see into the future of where all
03:13of those animated elements are going to end up.
03:15And this is something that saves us an incredible amount of time since typically in animation
03:19projects, we're always working backwards from the original composition to the areas we want
03:25to start our animations from.
03:26
Collapse this transcript
Setting easing options for animations
00:00Edge Animate gives us really quick ways to add Easing Effects to our animations right
00:04in the Timeline Panel.
00:05Now, by default, the animation type or the Easing Effect applied to these items is set
00:09to Linear, which means that the distance that the apples move all along the timeline between
00:14each point in time is exactly the same distance.
00:17So what this results in is an animation that's not that exciting to watch.
00:21So, if I click on the playhead here, you can see that the apples will move at the same
00:25speed and distance all the way to the center.
00:28Now, what Easing Effects will do is allow us to change the distance to be varying along
00:33the timeline and give us a much more natural animation feel.
00:36So to add an Easing Effect, what we're going to do is come down to the layer here in the
00:40Timeline Panel for the red_apple.
00:43Let's come over here in the timeline, and let's select the entire transition for the Left property.
00:48With this selected, let's come up to the top part of the Timeline Panel and click on this
00:52Easing button here.
00:53So again, by default, we have Linear, which again you can see the amount of distance versus
00:58the time to change is exactly the same throughout the entire distance of the animation.
01:03Let's come over here and let's choose Ease Out, which means we want to set a property
01:07when we ease out to the final frame of the animation.
01:11And by default, it's set to quadratic, and we can see the Easing effect here actually
01:14shows up as a curve.
01:16As we select different properties here, we can see the different curve types.
01:21These will all vary the distance that the object moves based on the total duration of the animation.
01:25So, let's come up here and just keep this on Quad.
01:28You can hit Return or click on the Easing Object button again to get it to go away.
01:32And now we have an Easing animation set on that object.
01:35So now if we grab the playhead and drag this back, you'll notice that the red apple moves
01:40faster than the green apple, and then starts to slow down a little bit, but still at the
01:461 second mark, they both resolve in the center.
01:48So, if I come over here and hit Play, you'll see that the red apple will actually animate
01:53faster in the beginning, and then slow down into its final spot.
01:57This gives us a much more sort of natural feel for the movement of that object.
02:01So to add the same effect for the green apple, let's come down, and select the left transition
02:05for the green apple.
02:07Come up to the Easing settings, choose Ease Out, keep it on Quadratic.
02:11Then hit the Spacebar.
02:13And now, we'll have the same effect on both of the objects as they animate to the center.
02:17Something that would be interesting on this particular animation would be the Bounce setting.
02:21So, I'm going to hold the Shift key, and select both of the Left properties for the green and red apple.
02:27And let's come down and choose Bounce.
02:31So what you can see from this curve here is that the apples will reach their final destination
02:35at about one-quarter of the duration and then they will move apart, go back again at about
02:40the halfway mark, and then again at about seven-eighths.
02:44And then resolve at the final destination of the ending transition.
02:48So, to see this, let's hit the Play button, and we'll see the apples will move and bounce into place.
02:54So the Easing Effects allow us to vary the distance that the objects are traveling along
02:59a total duration of the animation, allowing us to create more realistic effects for our animations.
Collapse this transcript
Animating clip and background position
00:00In addition to being able to animate more traditional properties, such as position and
00:04opacity, Edge Animate also gives us the ability to animate things like the CSS Clipping and
00:09Background Positions.
00:11Now in this Project I simply have an apple graphic placed on the Stage.
00:14So what we are going do first is come down to the Timeline Panel, let's activate Auto
00:18Keyframe, Auto Transition, and let's turn on the Toggle Pin.
00:22Once these are all activated, let's come up to the Stage, let's select the apple.
00:27Let's come up to the Tools and lets select the third tool here, the Clipping Tool.
00:31Now with this tool selected, we can see that the highlight changes to green and I have
00:35this little indicator here that allows me to change the Crop.
00:38I'm not going to make any adjustments here.
00:40We're going to come down to the timeline, above the playhead let's grab that Toggle Pin.
00:45Let's drag this out to one second.
00:47Now with this out to one second, let's come up here, let's grab the bottom of the clip
00:53and just drag this all the way up to the top.
00:57Now since the Toggle Pin will automatically target any element that we change and create
01:02a transition by simply letting go of this object, we can see that we now have a Clip animation.
01:07So now if we grab the playhead, drag this back and forth, we can see the animation revealing
01:11the apple through the clip.
01:14Let's hit the Spacebar to preview this, and again we get this sort of wiping on effect
01:19of that object, completely by animating the clip property.
01:22Now in addition to the clip, we can also use the Clipping Tool to change the background position.
01:29So let me hit Undo a few times to get back to the point before we created our animation.
01:33Now with the object selected, let's come over to the playhead.
01:37Make sure the Toggle Pin is back out to a second.
01:40What we are going to instead is come up here, click on this little circle indicator here.
01:44I'm going to hold the Shift key here to constrain to only move across the X-axis, and when I
01:50let go, instead of the Clip properties being animated, you'll now see that Edge is actually
01:54animating the Background Position.
01:56So, if I grab the playhead and move this back and forth, now we get an animation effect
02:00that looks as though the apple is sort of revealing itself behind a hidden object.
02:03So we'll hit the Spacebar and we can preview this animation.
02:09So being able to animate the Clip and the Background Position gives us some really
02:12interesting animation opportunities inside of Edge Animate.
02:15
Collapse this transcript
Combining transformations
00:00The Transform Tool on Edge Animate allows us to modify multiple CSS properties at once.
00:04So we are going to use this tool to access more advanced properties for our next animation.
00:09First, let's come over to the Assets, let's drag a copy of red_apple.png on to the Stage,
00:15and what we are going to do here is create an animation that's going to look like this
00:19apple's sort of tipping and rolling over.
00:22So to start, let's come down to the Timeline Panel, let's turn off our Auto Keyframe, Auto
00:27Transitions, and the Toggle Pin.
00:29Now with the apple selected on the stage, come up to the Tools, let's select the Transformation
00:34Tool, and let's change the Origin, that's the registration point here, let's click this and drag it.
00:40Let's move it to lower right-hand side of the apple, somewhere around 74% on the X and 94% on the Y.
00:49Now with that in place, let's come down to the Timeline, let's turn on Auto Keyframe,
00:54Auto Transition, let's select the apple, and let's come over here and activate Rotation.
01:00So with Rotation turned on, let's grab the playhead, let's drag it out to two seconds,
01:07let's come down to the Rotate Property, let's put in 95 degrees.
01:12Let's drag the playhead out to 3 seconds, let's come back to the Rotation Property and
01:18set it back it to 75.
01:20Next, we'll select this segment that goes from 95 to 75, come over to the Easing, choose
01:27Ease Out and pick Quadratic.
01:31So now if we Preview the animation, we can see the apple rolls over to 95 degrees and
01:35then rotates back to 75 degrees.
01:38So in order to make this animation look like it's rolling across the stage, we are going
01:41to bring the Timeline back to zero, and we are going to activate the Y or the Top properties.
01:47Let's select the Object, let's come over to the Properties Panel, let's turn on the Y-Axis
01:52or the Top Property.
01:55And what I am going to do with the object selected on the stage, is use my Down Arrow
01:58key to move the apple down, so that it's just touching the bottom of the stage.
02:02Next, what I am going to do is grab the Timeline playhead and I'm going to move this out, and
02:08anytime I see the apple start to move away from the bottom of the stage, I am either
02:12going to hit the Up or the Down Arrow to move the apple, so that it again is touching the
02:15bottom of the stage.
02:17So here I'll hit the Down Arrow a few times. Animate this out.
02:24I am going to keep doing this along the Stage.
02:30At this point here I can see the apple is actually starting to dip below the stage.
02:33So I'll come out to here, I'll hit the Up Arrow in this case, about a little bit more,
02:40hit the Up Arrow, and I am almost to the keyframe for the Rotation.
02:53Let's go one more, and then animate this up.
03:00So now when I click and drag the playhead I can see the animation moving across.
03:03Now if at few stops this is jumping, so let's just go in here and make a few quick modifications.
03:09Over here I'll just hit the Down Arrow once, about here I'll hit it again.
03:17Of course, you can add as many keyframes in between here as you want to create that effect,
03:36and right about there.
03:36So that looks pretty good.
03:37So when I move this back and forth, the apple looks like it's rolling on the ground.
03:41There's another thing that's kind of happening here and that is the apple, if it was actually
03:47rolling on the floor, would actually move a little bit to the right and left as well.
03:50So I am going to focus on this little spot, right above my crosshair arrows, and I want
03:56that to be in the right position the whole time.
03:59So I am going to move my playhead back to about right here and then I am going to drag
04:03a guide to intersect that spot on the apple right here.
04:07So now when I move my playhead I am going to come out here, I notice that that spot's
04:11a little bit to the right.
04:11I am going to hit the Left Arrow.
04:14Edge will automatically activate the Left property here, let's move that a little bit.
04:20I'm going to move that over to the right, a little bit more to the right on the next keyframe.
04:33Now I have that apple in the right spot.
04:34So now the apple looks as though it was sort of rolling along the ground as well.
04:38So now with that in place, let's go beyond the Keyframe, where this starts to animate back.
04:44So I'll move this over, and again use my Arrow keys to do the same thing.
04:51Now Edge make this really fast, because I can drag the timeline and then simply hit
04:57my Arrow keys and have Edge create all of the intermediate transitions.
05:04Now I'll come back and make sure the apple is in the right spot horizontally.
05:09So, I can see that spot is right on the guide here.
05:13Move this over, I can see it's actually a little bit to the right now, so I'll move this to the left.
05:23And that completes the animation.
05:33Now if we play this we'll see the apple tipping over.
05:36And one thing that's not very realistic here is it's taking a long time.
05:40So now what I can do is with my entire animation in place I can select the Rollup, which is
05:45the entire animation, move my cursor to the end of the duration, and I can click and drag,
05:50and I can re-time the entire animation.
05:53So what I am going to do is drag this entire animation down to about one and a quarter seconds.
05:58So now when I hit the Spacebar and play this, I'll get a little more of a realistic effect
06:01of the apple sort of tipping over, rolling a little past that center of gravity and then animating back.
06:07So, by using the Transform Tool and animating some of the more advanced properties on an
06:12object, we can get much more realistic animations very quickly inside of Edge Animate.
06:16
Collapse this transcript
Working with sprite animations
00:00Another popular animation technique on the web is to animate something called the Sprite Sheet.
00:04The idea behind this is that we have a large image and we animate the individual Sprite
00:09inside of a container.
00:10So in the Library Panel, I have a file in here called apple_sprite.png, let's drag that onto the Stage.
00:17So as you can see here, all the different frames of the animation are in one graphic and
00:21they are all spaced at a 100 pixels apart.
00:23So what we are going to do is animate this object inside of a Background element inside of Edge Animate.
00:29So with the object selected, let's first come up to the Toolbar and select the Clipping Tool.
00:33With the Clipping Tool selected, let's come down into the stage, let's grab the right
00:37side of the clip and let's drag this down until the right side of the clip is at a 100 pixels.
00:44To see this, let's come over to the Properties Panel, open up the Clip area, I have it set
00:48to 99 down here, let's just type in a 100.
00:52Next, let's select the object on the Stage.
00:56Let's come up to the Transform Tool.
00:59Let's grab the Registration Point here, and let's just drag this to the center of this object.
01:03This way if we do any transformations to this, it will look like we're transforming the one
01:06object and not the larger PNG.
01:08Now with our clipping in place, let's come up to the Toolbar, let's garb the Selection Tool.
01:13Let's come back down, let's move the apple onto the Stage.
01:18Now with the apple in position, let's come down to the Timeline Panel.
01:21Let's uncheck the Auto Transition, but we are going to keep the Auto keyframe turned on.
01:26Next, make sure the apple is selected on the Stage.
01:30Come over to the Properties Panel and let's activate this Keyframe here for the X and
01:33Y properties of the Background Image.
01:35Once I turn that on, we can see Background Position now shows up in the Timeline Panel.
01:41Let's grab this playhead, let's drag this out to a quarter of a second.
01:46Let's come over to the Background Image in the Properties Panel, let's click on the X
01:49and let's type in -100 and hit Return.
01:54Once I enter that value you'll see that the graphic actually changes inside of that frame.
01:58So if we come over to the Timeline Panel, drag the playhead back, this is the original
02:03state, and there is the first frame we just created.
02:07So again, what's happening is that background PNG that's really wide is just changing its
02:10position within that container.
02:13Let's grab the playhead and bring this out to half a second.
02:18Let's come back over to the Properties Panel, we'll put in -200.
02:21Let's come out to .75, enter -300.
02:32Let's come out to 1 second, -400, and then finally, at one and a quarter, -500.
02:45So now we have all of these keyframes along the timeline, there are no transitions between
02:49these keyframes, but you'll notice as we swipe back and forth we now get those individual
02:53frames showing right over top of each other inside that element.
02:56So if I hit the Spacebar and Preview this, is what our final Sprite Sheet animation looks
03:02like inside of Edge Animate.
03:04
Collapse this transcript
Animating CSS filter and shadow properties
00:00 Edge Animate allows us to animate filter settings just like any other properties.
00:04 So to demonstrate this, we're going to be working inside of the Exercise Files >
00:08 inside of Chapter 5 > inside of G Animating Filters, and then open up filters.an.
00:14 So inside of here, let's select the Apple on the stage.
00:16 First, let's apply some filters to this. Let's come over to the Properties panel.
00:21 Lets open up the Filters tab. Now, what we're going to do inside of
00:23 here is not only activate different properties, but activate key frames for
00:27 the properties. So, for the animation I want to rotate
00:29 through the hue rotation and animate the drop shadow.
00:32 So, let's make sure the players at the 00 marker.
00:36 Lets come up and activate hue rotate. And for the shadow, let's activate the x,
00:40 y, and blur key frames. Next, make sure in the timeline you have
00:43 the autokey frame and auto transition turned on.
00:46 Let's grab the playhead, drag this out to the one second mark.
00:50 Let's come up to the hue rotation. Let's select this.
00:53 Let's type 180 degrees. Hit Return or Enter.
00:58 That'll create an animation on the stage. Lets grab this on the timeline.
01:02 We can see the hue rotation is now animated.
01:05 Lets leave the play at the one second mark.
01:08 Lets come over to the X property, lets type in ten pixels, hit Tab, put in ten
01:13 for the Y, hit Tab, put five pixels for Blur.
01:18 And as we make these changes, you'll notice on the stage we see the drop
01:21 shadows now being applied. And again, if we drag the play head back
01:25 and forth. We can see that, not only is the hue
01:27 rotation changing. But also, the drop shadow's moving.
01:32 Let's do one more change. Let's come back to the very beginning.
01:35 Let's come up to the properties panel. Let's activate the x and y for the position.
01:40 Let's come down to the play head. Drag this to the one second mark.
01:44 going to click on the stage. I'm going to move this vertically ten
01:47 pixels and to the left ten pixels. This is the same distance that we're
01:51 moving from the drop shadow. So, now if we scrub the playhead, we get
01:54 this effect that the apple is changing color, and sort of moving up off the stage.
01:58 Now, if I hit Return, to play this inside of Edge Animate, one thing you might
02:03 notice is that the preview doesn't quite work inside of the application.
02:06 However, if we preview this in a browser, we'll see the effect or after.
02:10 So, lets go up to the File Menu. Lets come down and choose Preview in browser.
02:13 So, now inside of the browser we'll see a nice animation between all of the Hue
02:16 settings and we'll see the drop shadow moving away as the apple moves up.
02:20 I'd reload to play this again. I'm going to close the preview, and go
02:24 back to Edge Animate. Now, back inside of Edge Animate, I can
02:26 see a warning symbol in the lower right hand side of the stage.
02:29 If I click on this, and hover over the warning.
02:31 I can see that Firefox and some Android browsers are going to have problems with
02:34 CSS3 filters. So when you're using CSS3 filters.
02:37 Whether you're just using them straight or animating them.
02:40 Realize that some of these effects won't work in some of those browsers.
02:43 So, just make sure that the user experience is dependent on some of these settings.
02:46
Collapse this transcript
Animating CSS gradients
00:00 Now, in addition to being able to create gradients inside of Edge Animate 1.5 and
00:04 later, we can also animate the properties of a gradient.
00:06 Now, to follow along in the exercise files, lest open up Chapter_05, the H -
00:11 Animating Graphics, and then gradients.an.
00:14 Now, inside of here, let's come up to the toolbar.
00:16 Let's select the rectangle tool. On the stage, I'm going to click and drag.
00:19 Create a rectangle on the Stage. Next we'll come over to the Properties panel.
00:24 Inside of the Color area, select the center chip, which is the Gradient
00:27 Creation tool. Next on the left-hand side, let's select
00:29 the Top Color Stop, and the Color area. Let's come in here and select a medium
00:34 green, then hit Return. As soon as we apply the gradient, we'll
00:38 see in the lower right-hand side of the Stage, Edge Animate is giving us a warning.
00:42 If we click on this, it'll tell us that gradients are not supported in IE9.
00:45 Then we can click the X to close that. Now to create an animation of Gradient
00:49 properties, with the gradient selected on the stage, let's come down to the Timeline.
00:54 Let's turn on Auto Keyframe and Auto Transition.
00:57 And then let's come up to the Properties panel.
00:59 Under Color, next to the Gradient swatch, let's click on this Keyframe here.
01:04 That's going to add a keyframe to the stage at the 0 marker.
01:06 Let's grab the Playhead, let's drag this out to 1 second.
01:09 Let's come down and activate a second key frame.
01:12 Now, we'll drag the Playhead back to the 0 marker.
01:14 Let's come back to the properties panel, let's click on the gradients watch, and
01:18 let's come down here to the color ramp. Let's grab the second stop color and just
01:22 drag this up. So that the distance of the gradient is
01:25 much shorter now. Now I'll hit return, the auto keyframe
01:28 and auto transition will give us an animation.
01:30 Now we can click and drag the Playhead on the stage and see the animation in the timeline.
01:39 Let's add a second animation here. Let's bring the Playhead back to the 0 marker.
01:43 Let's come up to the Properties panel. Let's activate Opacity.
01:46 Let's come down and drag this down to zero.
01:48 Drag the Playhead out to half a second. Drag the opacity up to 100.
01:55 This way the opacity will play much faster than the overall gradient animation.
02:00 And then lastly, let's come up, select a gradient.
02:02 Go to modify, arrange, and send to back. Now, in addition to animating the length
02:07 of the gradient, we can also animate the angle.
02:09 So, let's come down here in the timeline. Let's select Opacity and Gradient, let's
02:14 hit Delete. Let's drag the Playhead back to the 0 marker.
02:17 Let's come up to the Properties panel. Let's bring the Opacity back up to 100%.
02:21 Let's come over to the Gradient Swatch. Let's extend the gradient ramp so that
02:27 it's the full height. And let's come in here and let's set the
02:30 degree to one degree. And hit Return.
02:33 Now we are going to create a rotating animation of the gradient but the
02:36 computer doesn't understand the difference between zero degrees and 360 degrees.
02:40 It sees those both as the same. So what we're going to do is set to one
02:44 degree and then we're going to animate to three different points, never using zero
02:47 or 360 as measurements. So with our gradient sent to one degree,
02:51 let's come up over here to the Properties panel.
02:53 Let's activate the key frame with the Gadient Swatch.
02:56 Let's come down to the time line, let's drag the Playhead to the one second mark.
03:01 Make sure auto key frame and auto transition are still on.
03:04 Lets click on the Gradient Swatch for degrees.
03:07 Lets set this to 120 degrees. Hit Return.
03:11 Lets drag the Playhead out to two seconds.
03:16 Lets come back click on the Gradient Swatch set this to 240 degrees.
03:21 Hit Return. Next lets come over and grab the Playhead
03:25 Let's drag this out to the three second mark.
03:27 Come back to the Gradient Swatch. Let's change our degree to 359, then hit Return.
03:32 So now, if I jog the Playhead, we can see that the animation will go in a complete circle.
03:38 Since we're working with a shape with the corners, this might look a little funny.
03:40 So let's bring the Playhead back to the zero marker.
03:42 Let's turn off auto key frame and auto transition.
03:46 Let's come in here and extend the height of this box all the way up to the top of
03:49 the stage. With this selected, let's set the width
03:52 to 300 pixels. Let's hit Return.
03:57 Let's drag this over, so that it's centered over the apple.
03:59 Next, let's come over to corners. Toggle the corners open.
04:03 Change pixels to percent. Let's type in 50 percent, hit return.
04:08 This will give us a circle. And then, lastly, let's come over to the
04:12 3 second mark in the timeline. Let's come over here and add an action or
04:17 a trigger. Let's click on this.
04:20 Select play from the snippets. Close this.
04:23 And then Cmd or Ctrl + Return to preview in Browser.
04:27 And now we'll see that we have a rotating animation of the gradient.
04:30 So not only do gradients get this nice design opportunity in our compositions,
04:34 but we can also animate those properties as well.
04:36
Collapse this transcript
6. Making Adjustments to Animations
Adjusting animations
00:00Edge Animate allows us to create adjustments to animations as quickly as we can create
00:04animations themselves.
00:05In this project I have a simple animation of an apple that's just simply moving from
00:08the top of the screen down to the bottom.
00:10Now to make adjustments on an animation that already exists, when the playhead gets to
00:15the point where there's a keyframe, Edge will snap the playhead to the keyframe.
00:20If this isn't happening for you, come up to the timeline menu, come down to Snap To,
00:24and make sure that you have Keyframes, Labels, and Trigger Selected in that menu.
00:29Now back in the timeline with our playhead set to the 0 marker we are going to select
00:33the apple, hold the Shift key to constrain my direction, and we are going to move the
00:37apple to the top of the screen so that just a part of it is showing.
00:40Down on the timeline grab the playhead, let's drag this to the end of the animation.
00:45Select the apple on the stage and now I am going to use my down arrow to move the apple
00:49down so that it's touching just the bottom of the stage.
00:51Now let's drag the playback to the 0 marker.
00:54I want to add another transition property in here for Opacity.
00:58Now I could come over to the Properties panel and click on this item here to add a keyframe
01:02for Opacity, but I can also right-click on an object.
01:06So on the stage I am going to right-click on the apple, come down to Add Keyframe, and choose Opacity.
01:12In either case we are going to get the Opacity setting down here.
01:15So let's come down here and scrub this down to 0.
01:19Let's grab the playhead, drag it out to the one second mark, which is halfway through
01:23the duration of the animation.
01:25Let's come down to the Opacity setting and drag this up to a 100.
01:28So now the apple will be fully opaque by half the transition time.
01:34Next let's come down here and grab the entire transition for Top.
01:38With the entire Transition selected let's come up to the Easing settings, choose Ease
01:43out, and then Bounce.
01:45Now if we play the animation, we have a Bounce Effect and the Opacity coming in halfway through
01:51the Total Duration.
01:52Next we are going to add in one more property and that's going to be for Rotation.
01:56So let's grab the playhead and drag this back until we see the apple has first bounced off
02:00the stage, which is right about here.
02:04So right at this point let's come over here to the Auto Transition and turn that off.
02:09Let's come over and activate the Rotation, and let's set this to 5 degrees.
02:14Next we'll move the playhead all the way back to the beginning and set the Rotation to 0 degrees.
02:20Now since we turned off Auto Transition we are not going to get the automated transitions
02:23between these keyframes.
02:26Let's grab the playhead, let's find the second time the apple hits the stage, right here.
02:35Let's come over here to the Rotation Property.
02:37Let's set this to -5 and then let's go to the end, come back to the Rotation Property, set it to 0.
02:46Now I do want a transition on the last two keyframes.
02:48So lets select the very last keyframe, right-click, choose Create Transition.
02:54So all along the Rotation Property the first three settings have no transitions between
02:59them, but we do now have a transition on the last two properties.
03:03So now let's play this.
03:04So now we see the apple sort of rotates around just a little bit as it hits the stage.
03:08Now the last thing I want to adjust is the overall timing.
03:12I don't want the entire animation to take two seconds.
03:15So if we come into the timeline and we click on the red_apple layer or what some people
03:19refer to as the rollup, everything will be selected underneath.
03:22So every keyframe and transition will be selected.
03:25With all of these properties selected, let's move our cursor over to the right-hand side.
03:29You'll see we get these little double arrows and let's click and drag and make the Duration only 1 second.
03:35Notice that all the keyframes in the timing will be adjusted appropriately.
03:40Let's bring the playback to a 0 marker.
03:42Let's hit the Spacebar or the Play button to preview this.
03:45And now we will see the animation plays much quicker and looks a little more natural.
03:52So even though we started off with an animation that was already in place, we were able to
03:55add in additional properties, change the overall duration, and add in some enhancements using
04:00the same techniques that we would use to create the animation from scratch.
04:03
Collapse this transcript
Moving entire animations
00:00Sometimes you need to move an animation within your composition, but you don't want that
00:03movement to generate more keyframes.
00:06So Edge Animate gives us a way that we can move an entire animation without generating
00:09additional keyframes.
00:11What we want to do here is move this animation.
00:14Currently, it's on the left -hand side of the screen.
00:16We want to move the entire animation over toward the right-hand side of the screen.
00:19So what we are going to do inside of Edge is, with our cursor on the last screen, and
00:25we have it over here simply so we actually see the final result of the animation.
00:29Let's come over here and turn off Auto Transition and turn off Auto Keyframe.
00:34Make sure your toggle pin is also not activated.
00:37And when Edge is in this state, anything that we make changes to is going to affect the artwork
00:41globally whether they're animated or not.
00:44So what I can simply do is now come in here, grab the apple, move it over to the right,
00:48maybe use my arrow keys to arrow it to exactly the point that I want.
00:52Then when I play the animation, the starting point, which is up here now instead of on the
00:57left-hand side, the Opacity settings, and the rotate settings are all being affected
01:02on the object not being on the right-hand side of the screen versus the left-hand side.
01:06So as you are working inside of Edge Animate, anytime you want to change the position of
01:11an animation, but not have those adjustments be part of the animation, make sure that you
01:15come down here on to the timeline panel and turn off the Auto Settings so that Edge won't
01:19apply those new settings to the actual animation itself.
01:22
Collapse this transcript
Reusing animation properties
00:00You can reuse animation properties inside of Edge Animate by copying and pasting them
00:04on to other objects.
00:06So here we have an animation of an Apple dropping and rotating a little bit as it bounces on
00:10the bottom of the stage.
00:12What I want to do here is take these animation properties that we've spent time setting up
00:16and apply them to another object.
00:19So first let's come over to the Library panel.
00:21Let's grab green_apple.png and let's drag this onto the stage.
00:25We'll position this where we want it.
00:28Next we'll come over to the red_apple, down in the timeline, let's click on the rollup
00:33here, which is the bar on the red_apple layer, which will select all of the properties of
00:38the animated transitions underneath.
00:40Let's come up to the Edit menu, choose Copy.
00:44Let's come over here and select the green_apple and then choose Paste.
00:48Once we do that you'll see that all of the animation properties are now assigned to the
00:52green apple object.
00:53If I drag this back and hit Play the green_apple will now drop into place.
00:58Now with the rollup selected we can also change the entire choreography of the animation.
01:03So I can click on this object and drag it back and make it so that the green and the red
01:08apple play at the same time.
01:10Bring the playhead back to the 0 marker, hit the Spacebar or the Play button, and preview
01:16the animation of the two apples dropping together.
01:18So if you spent a lot of setting up an animation to work in a specific way, you can then copy
01:23those transition properties and paste them on to any other object and get the same animation effects.
Collapse this transcript
Changing animated artwork
00:00If you've animated an object inside of Edge Animate and you want to change the artwork,
00:04we can switch the artwork that's associated to the animation without changing the animation itself.
00:09So inside this file we have an apple that drops down on the stage, bounces and rotates
00:12a little bit as it hits the bottom.
00:15What I want to do here is change the red apple for the green apple.
00:17So what I can do is come up here and select the red apple on the stage.
00:21In the Properties panel under the Image setting, let's come down to where it says red_apple.png
00:27and click on this button here, which will allow us to change the image source.
00:30This will bring up the Library panel.
00:32Let's come in here and grab green apple and then hit Return.
00:35So, on the stage you can see that red apple has now been replaced with the green apple.
00:38I'll hit the Spacebar to preview the animation and all of the animation properties are still
00:43intact, but we're seeing the green apple animate instead of the red apple.
00:46Now in some cases you may actually switch artwork for something that's not the same size.
00:50In this case the green apple is actually wider than the red apple.
00:53So what I'm going to do is come down to the Timeline panel.
00:56I am going to uncheck Auto- Transition and uncheck Auto-Keyframes.
01:00Make sure that toggle pin is not activated either, so all of these are gray.
01:04Let's select the apple.
01:06Let's come over to the Properties panel and let's set this to 160 pixels wide.
01:10I want to make sure I can change the Width property without Edge creating an animation
01:14out of that property change.
01:16So now we can preview this again and we see the width of the apple is now 160 pixels at
01:20all times, and again we've switched out the artwork from the red apple to the green apple.
01:24
Collapse this transcript
Setting an animation to loop
00:00To set an animation to Loop in Edge Animate we need to use a little bit of JavaScript.
00:04Fortunately, we can add this to our Edge Animate project with a simple click of a button.
00:08So here we have a simple animation of an apple dropping onto the stage.
00:11What we're going to do here is set this up so that it will loop after a certain amount of time.
00:17So to add a looping capability to this animation, let's come over here to the Timeline Panel,
00:21let's grab the playhead and let's drag this out to about the 3 second mark.
00:25Once we're at 3 seconds, let's come over here and under this Actions layer here let's come
00:30over here and click on this button here, which is the Insert Trigger button.
00:34Once we click this we're going to get the Code window that comes up.
00:36Inside of here we can add our code, or we have a whole series of buttons on the right hand
00:40side that will automatically put in some JavaScript for us.
00:43So what we want to have happen at that 3 second mark is we want to click Play.
00:48By inserting this command what's going to happen is, when the browser gets to the 3 second
00:52mark in our animation it will simply replay the entire animation.
00:56So that's the only thing we need to add here.
00:59In the upper right-hand corner let's close the Code window.
01:02Now in order to see this we need to look at this in the browser.
01:05While Edge will give us the ability to preview an animation of things that are happening
01:08on the stage, the preview doesn't execute JavaScript.
01:11So what we're going to do at this point is come up to the File menu, come down and choose
01:15Preview in Browser, and you can also use the same keyboard shortcut that we have inside
01:19of Flash, which is Command+Return. So let's select this, this will open the animation up in a browser.
01:25The animation will play over the course of one second, and then it will wait two seconds
01:29before the Play command gets triggered and then the animation will start over again.
01:33Let's close our Browser window to make this transition a little bit smoother.
01:37Let's move our playhead back to about the 2.5 second mark.
01:40Let's come over here to the Opacity property and let's activate a keyframe for this, and
01:44then let's move our playhead out to about 2.75.
01:48Let's come over here to the Opacity setting and let's scrub this down to zero.
01:52So now we'll have an animation where the apple drops onto the stage over the course of one
01:56second, and then it will sit on the stage for another one and a half seconds, and then fade
02:00out over a quarter of a second, and then a quarter of a second after that it will replay.
02:05So to test this let's hit Command+Return to preview in the browser. And right before the
02:10animation is going to replay you'll see the apple fades out, then our Play command hits,
02:13and the entire animation loops again.
02:15
Collapse this transcript
7. Working with Symbols
Using symbols
00:00Edge Animate allows you to create symbols from your artwork and reuse them on the stage,
00:04very similar to other Adobe applications like Flash, Illustrator, and Fireworks.
00:09Now I have a blank project here.
00:10The first thing we're going to do is come over to the Library Panel, let's grab red_apple.png.
00:16Drag that onto the stage.
00:17Let's go back and grab green_apple.png from the Assets and drag that on the stage as well.
00:22I am going to overlap these is a little bit.
00:25I'd like the green apple to be behind the red apple, so let's go to Modify>Arrange>Send to Back.
00:32Now using the Shift key I am going to select both of these objects and I want to create
00:36a symbol out of these.
00:37I can do that by either right-clicking and coming down and choosing Convert to Symbol, or
00:42I can come up to the Modify menu and choose Convert to Symbol.
00:45In either case I'll be presented with the dialog box to name the symbol, we'll call
00:49this apples, then choose OK.
00:53Once I do that, you'll see these two items up here grouped.
00:55They're actually showing up now in the Library Panel under the Symbols group.
00:59Now back on the stage, this is referred to as an instance of that symbol.
01:02I can come in here and scale that instance.
01:05So I'll just scale this down really small.
01:06I'm going to hold the Option key and drag out another instance.
01:11For this one let's just scale this up a little bit.
01:13I'll drag a third instance, we'll scale this up even more.
01:19So symbols allow us to create some artwork that we can reuse any number of times.
01:23If I modify this symbol it's going to modify all of the instances of that symbol.
01:27To modify a symbol we can do that one of two ways.
01:29First, I can come over to the Symbols Panel, double-click on the Symbol and this will bring
01:34us into Isolation mode where I only see this particular symbol, where I can see the original
01:39graphics that are grouped together, so I can make a change here.
01:43And in the upper left-hand corner we can see the path, I'm inside of the apples symbol.
01:47I'm going to click on Stage, go back to the main stage.
01:50The second way I can edit these is I can double- click on one of these and go into Isolation mode
01:55where we're editing the symbol in place.
01:57This way I can see the background stage even though it's ghosted back to get a sense of
02:01where the other instances of this symbol are.
02:04Inside of here let's just make a change.
02:07Let's move the green apple over to the left a little bit.
02:10I'll move the red apple to where the green one was, I am going to use my keyboard shortcut
02:14Command+[ to put the red apple behind the green one, and I'll just use my
02:19Arrow keys to arrow this over a little bit.
02:22Once I like the change, I'm going to come up here and click on Stage.
02:26Once I do that, we can see in the background all of the instances of this symbol are now
02:29modified, having the green apple in the front and the red apple in the back.
02:34As you can see, symbols provide us a fast and efficient way to modify artwork in our compositions.
02:39
Collapse this transcript
Creating animated symbols
00:00In addition to allowing us to reuse artwork, symbols also can be animated inside of Edge Animate.
00:05So inside this project we have our composition that we created earlier in the course.
00:09We also have the apple animated here in the middle.
00:12If I bring the playhead back, hit the Play button to preview this.
00:16We can see that we have the apple drop down and land on the floor.
00:19So what I want to do is take the animation from that apple and wrap that into a symbol.
00:23So what I am going to do is click on the apple, right-click, come down and choose Convert to Symbol.
00:32Let's name this animated_apple, then choose OK.
00:38Once we do this, that animation is now encapsulated inside of that symbol.
00:42If we come over here to the Symbols Panel and double-click, we'll see that we have the
00:46timeline inside of this symbol that's dedicated only to this apple.
00:50We can see the animation in place here as we click and drag this.
00:54So everything about that animation is now inside this particular symbol.
00:58So let's come back to the top of the document, let's come back to Stage.
01:03Now another advantage of having the animation inside this symbol is if we duplicate this
01:07object, come over to the stage, let's Option+drag a second copy of this apple.
01:14When I let go and get a duplicate of the symbol, previewing the animation will actually show
01:21us the same animation playing inside of each of the instances of that symbol.
01:25
Collapse this transcript
Controlling symbol playback
00:00When working with animated symbols Edge gives us a way to control the animation inside of
00:05a symbol right from the timeline.
00:07So in this project I have an animation of an apple dropping.
00:09I'll hit the Spacebar here to preview this.
00:12So the first thing we're going to do is select the red apple, you can either select it from
00:16the timeline clicking the Rollup, or you can click on actual apple itself.
00:19We're going to right-click, choose Convert to Symbol.
00:24We'll name this animated_apple, then click OK.
00:30And now what you'll notice is in the Timeline we see these arrows here and a Playback option.
00:34This allows us to control the playback of the symbol, allowing us to either stop or start
00:38this along the timeline.
00:40So the first thing we're going to do is come over here and select the text, or An apple a day.
00:45With this text selected, let's turn on our Auto-Keyframe and Auto-Transition.
00:50Let's come up to the Opacity, let's activate Opacity and set this down to zero.
00:55Let's scrub the Timeline out to about one second.
00:59Come down here for the text and set the Opacity up to a 100.
01:03So now we get an animation of the text animating up, however I want the apple to play after
01:07the text is faded in.
01:09So what we're going to do is come down to the layer with the apple, move our playhead back to 0.
01:14Under Playback we're going to click this plus symbol here and come down and choose Stop.
01:19Once I do that we'll see this stop action showing up on the timeline.
01:23Now let's grab the playhead, let's drag this to where I want the apple to start to play,
01:28which will be just before the animation is done for the opacity of the text layer.
01:33We'll come back to the Playback and then choose Play.
01:36So now you'll notice these arrows here are showing us that that symbol, which has an
01:39animation inside of it, is now going to start playing at three quarters of a second.
01:44So let's comeback, let's preview, text fades in, and then the apple drops.
01:49So even though the animation inside of the symbol is specified to start right away, we
01:54can override that control with this Playback feature, issue a stop, and then decide when
01:59we want to play it based on setting another Playback instruction on the main timeline.
02:03
Collapse this transcript
8. Working with Actions
What is a trigger?
00:00Timeline triggers in Edge Animate allow us to add additional instructions on the timeline
00:05right within the Timeline Panel.
00:06Now inside of Edge Animate I have pretty simple animation here.
00:09I'll hit to Spacebar to preview this, so we have an apple that's just dropping down and
00:12bouncing into place.
00:14Now in the Timeline Panel we have this Actions Layer here and this little symbol.
00:18This Symbol is the Insert Trigger button.
00:20So what we can do is put triggers along the Timeline and trigger certain events to happen.
00:26So let's grab the Timeline playhead, we'll drag this back to about half a second and
00:30let's click on this Insert Trigger button.
00:33That's going to bring up Edge's Coding window, and on the right-hand side we have a whole
00:36series of Snippets that will automatically code some instructions.
00:40At the very top we have Stop.
00:42Let's click that and then close the window.
00:44Now, if I were to preview this in Edge, Edge will play right through that instruction.
00:49Since this is JavaScript we need to preview this in a browser, so that the browser can
00:52interpret the JavaScript that was written by Edge Animate.
00:55So to preview this in a browser, let's go to the File Menu, choose Preview in Browser.
01:03Now we'll see the animation plays up to a half a second and then stops.
01:06Even though the apple has an easing effect on it, it will still stop in this exact spot
01:10since that JavaScript trigger on the timeline is telling everything in the animation to stop.
01:16Let's close our browser.
01:18Now if we go back to this trigger, we can double-click it and get back to the Code window.
01:22So there are a bunch of different things we can do inside of here.
01:24So let's delete the stop and let's come over here and choose the Play Reverse. Let's close this.
01:31To Preview in Browser I am going to hit Command+Return.
01:34So now what will happen is the animation will play, get to the end, and then play in reverse.
01:39This is a great feature for a lot of interactive projects, since we don't have to go back and
01:42create Keyframes to undo an animation or return the stage to its previous state.
01:47So let's close the browser.
01:49We can also choose when this animation happens, so right now we are reversing the animation
01:53before it's even complete.
01:55We can grab the action and drag it out, so let's drag this out to 3 seconds.
02:00We'll preview this in a browser, the apple will fall taking one second.
02:03It will wait two seconds, and then it will play in reverse.
02:07So it plays out the two seconds, then reverses and plays the two seconds again, giving us
02:11a four second delay, and then reverses the animation.
02:15Let's close our browser and take a look at something else we can do with our triggers.
02:18I am going to come over here and grab this trigger.
02:20Let's bring this back to the 1 second mark.
02:24So after the apple has bounced into place, I want to change the text on the Chalkboard.
02:28So let's come down here.
02:29Let's double-click the Action, let's bring this up.
02:34And what we are going to do here is come down and choose Set Element Text.
02:37The name of the Element is Text.
02:40The HTML we want to put in here is going to be, "keeps the doctor away!", and then close.
02:47So now instead of the animation stopping or playing in reverse, this will stop automatically
02:52by default, because that's the default behavior of an Edge Animate timeline.
02:56But once we get to the end we're going to change that Text.
03:00So again, let's preview this in a browser.
03:02So now after the apple falls, the text on the chalkboard will change to the text that
03:05we set inside our Timeline Trigger.
03:08So Timeline Triggers really give us the opportunity to change the default behavior of the way
03:12the timeline is moving and even change properties of other elements on our composition.
03:16
Collapse this transcript
Assigning actions to objects
00:00In Edge Animate we can assign actions right to specific objects that are part of our composition.
00:05So in this project I have a simple animation.
00:07I'll click the Spacebar to Preview this.
00:09We have an apple that's just drops down and bounces on the floor.
00:13What I want to do here is set an action on the actual apple itself.
00:16So I'll come up to the Stage, select the apple.
00:18I'm going to right-click, come down and choose Open Actions for "red_apple" and in here we
00:24can choose the event that we want to actually assign the action to.
00:28So in this I'll choose mouseover.
00:30What I want to do here is set the Text of the chalkboard when somebody rolls over the apple.
00:35So on the Code Snippets on the right-hand side, I am going to come over here and choose Set Element Text.
00:39The Name of the Element is actually Text.
00:43So for the value, we're going to put in, "keeps the doctor away!", let's close this Code Window.
00:49In order to see this we need to look at this in a browser, since we need the browser to
00:53interpret the JavaScript that's been written by Edge Animate.
00:56So let's come up to the File Menu, let's choose Preview In Browser.
01:01The animation will play.
01:03Now when I roll my mouse over the apple we'll see that the text on the chalkboard changes.
01:07So now that that's working properly, let's add another action.
01:10Let's close our Web browser.
01:12Let's come back to the Stage, let's right-click on the apple again.
01:16When we come down and choose Open Actions for apple, we'll see the actions that we already put in place.
01:20I'm going to get my cursor after the set text instruction, let's hits a few Returns, and
01:25let's simply click Play Reverse.
01:28Let's close our Code Window, I am going to hit Command+Return to Preview In Browser.
01:34The apple drops into place, I get my cursor, I'll roll over this.
01:38Now the text on the chalkboard will change, and the animation will play in reverse.
01:42So now we have two actions that are assigned to the apple by simply rolling over it.
01:46Let's closer our Browser window and add in one more instruction.
01:49So back on the main Stage, select the apple or right -click and go into the Actions again for the apple.
01:55So what I want to do here is not play this in reverse, so let's come in here and delete that.
02:01Let's keep the text change, but let's adds another event trigger.
02:05So in the top left-hand corner here with the plus sign, let's click on this.
02:09Let's add a click event.
02:11So for the click event we are going to come over here and choose Open URL.
02:16Let's replace adobe.com with lynda.com.
02:21Let's change _self to _blank so the link will open in a new window.
02:26And now that we're actually going to go over to the lynda.com website, let's go back to
02:30the mouseover action, and all the actions line up here, and instead of "keeps the doctor
02:36away!", let's change that text to "visit our website!".
02:47Once that's in place, let's close the Code window, and there is one more thing we are
02:51going to want to change, since the user can actually click on the apple and visit a website,
02:55we want to change the cursor to look like a pointer to indicate to the user that that
02:58is an interactive element.
03:01So with the apple selected, let's come over to the Properties Panel, down here under Image
03:05we have this category here called Cursor, let's click on this button here and let's
03:09assign the Pointer Tool.
03:11So when somebody rolls their mouse over the apple, they will get a Pointer Tool.
03:15Command+Return, Preview this in a Browser.
03:18The apple falls, I roll over it, I get a hand cursor, the text changes, and if I click this
03:24will open a new browser window and bring us to the lynda.com website.
03:28
Collapse this transcript
Targeting symbols with actions
00:00Edge Animate allows us to take actions and target other symbols with them, so we can
00:05target specific symbols and give them additional instructions.
00:08In this project I have this simple animation again with the apple dropping down on the
00:11floor, but notice in the background we can see the text on the chalkboard is also animating.
00:16If I grab the Timeline and continue to play this, you'll see that it animates to a second state.
00:20So the first part says, An apple a day..., and the second part says, keeps the doctor away.
00:26Now if we go into this animated symbol by double-clicking it and go into Isolation Mode,
00:31we can see in here, in the Timeline for this particular symbol, that the first part of the text fades out.
00:36And then we have an instruction here, a Timeline Trigger, that if we double-click, we can see
00:41this is set to stop.
00:43So when this plays in a browser, only the An apple a day...
00:46text will play and the animation will stop.
00:48So what we are going to do in this lesson is use the rollover state for the apple to
00:52target this symbol, and tell this symbol to play its timeline.
00:56Then when it continues to play it's going to fade between the first set of text and
01:00the second set of text.
01:01So let's come out of the Isolation Mode for editing the symbol.
01:04We'll click on the Stage, and now back on the Main Stage, I first want to call your attention
01:08to the fact that this instance name of this symbol, which I've selected on the stage here, is set to message.
01:15This is the instance name of that Symbol.
01:16The instance name is different from the Symbol name, which we can see over here in the Library Panel.
01:21The name of the Symbol is called chalk_board_ message, but the name of the Instance is called message.
01:26Let's click on the apple, let's right-click, let's come down to Open Actions for "red_apple".
01:31Now the event we want to put this on is going to be mouseover.
01:33Now over on the right-hand side for the Snippets, let's come down and choose Get Symbol.
01:38When we choose this Edge Animate will write the appropriate JavaScript for us to be able
01:42to get the properties of the symbol.
01:44So right here we can see there is a variable name called mySymbolObject and is = sym.getSymbol
01:50and the string literal on the right-hand side is looking for the instance name of the Symbol we want to target.
01:55So let's type in "message" here.
01:58Once that's in place, let's hit a few Returns.
02:01So now what we want to do is send a Play instruction to that symbol that we just targeted.
02:05So let's come over here, let's double-click and copy the symbol name, let's hit Paste,
02:10and then type .play();.
02:17So the recap, when we roll over the red apple we're going to get this symbol instance that's
02:23named message and then we're going to send that an instruction of play.
02:28So let's close the Code window.
02:29Let's preview this in a browser.
02:32The apple will drop.
02:32Move my cursor, roll over the apple, that will target the animated symbol for the text
02:38on the chalkboard, and we'll see the transition play from the first set of text to the second set of text.
Collapse this transcript
Targeting labels with actions
00:00In addition to targeting symbols and elements with actions, we can also target Timeline Labels.
00:05Now inside of this composition, I have the text on the chalkboard animated.
00:08If I drag the playhead down to the zero marker you can see the text is introduced to the stage
00:12by animating the trim and then once the text is on the stage we crossfade between the two
00:18different text blocks.
00:18I am going to double-click this element to go into Isolation Mode and inside of the animated symbol.
00:24So here inside of the symbol we can see that the first part of the animation does that
00:28wiping effect, again by animating the trim, and then here's the crossfade to text block
00:322 and then crossfade back to 1.
00:35Now I don't want to set a loop on this symbol, because I don't want to have the animation
00:38go all the way back to the beginning.
00:40Once we've the type wipe on the screen, I want to keep it there and then just do the crossfade.
00:45So to do that, I am going to bring the playhead down to two and a quarter seconds, I am going
00:49to come over here and click on this button here, which is the Insert Label, and I'm going
00:53to type in the word loop.
00:55This gives us the ability to add a label to a specific point in time within the symbol.
01:00Now to animate to this loop point, let's grab the Timeline playhead and move this out about to the 7 second mark.
01:06With the playhead at 7 seconds, let's come in here and add an Action.
01:10That's going to bring up our Code dialog box.
01:12From the Snippets, let's choose Play from.
01:15By default Edge is going to put in a time indication here, so 1000 milliseconds.
01:19We are going to delete that, put in two quotes for string literal, and type in the name of
01:25the label that we added to the Timeline.
01:26So we'll put in loop, and then close the Text block.
01:30So, now when the playhead gets to the 7 second mark, it's going to loop back to that Timeline
01:34marker instead of up to the zero marker of the symbol.
01:37So to test this, let's choose Command+Return, or File > Preview In Browser.
01:43So we see in a browser the text animates open and then crossfades from the first text block
01:47to the second text block.
01:49After the second text block fades away we see it fades back to the first one, and again
01:53we don't see that initial animation of the type wiping on the Stage.
01:57So by combining actions and labels we can create alternate looping points within our animated symbols.
Collapse this transcript
9. The Code Panel
The Code window interface
00:00One of the great features of Edge Animate is that it can give us access to all of the
00:04code that it's going to write for our entire project.
00:06So here we have a simple project.
00:07I will hit the Spacebar to preview this.
00:09We have an apple that drops on the stage.
00:12We have two actions assigned to the apple as well.
00:14To get to the actions let's come over and select the apple on the stage, right-click,
00:18and come down to Open Actions for red_apple.
00:21In this Code window here, this is a Code window that only has access to the individual
00:25elements assigned to the object on the stage.
00:28So we can see the two events here, mouseout and mouseover.
00:32Now I can't get access to anything else in the project, but I can get access to just that
00:36element that's selected.
00:38So let's close this window, let's deselect the apple, and instead let's come up to the
00:42Window menu and choose Code.
00:44Now this Code window has a few more elements inside of it than we saw with the Code Window
00:48that's specific to an element.
00:50First you will see these items on the left-hand side.
00:52We see an element for the Stage and for Preload, with two actions assigned to the stage.
00:57If we look at these, we can see that these are red_apple.mouseout and red_apple.mouseover.
01:02Selecting each one of these will give me the same script that we saw in the much smaller
01:05dialog box specifically designed for that element.
01:08Now on the right-hand side we see this little plus sign here, which will toggle open the snippets.
01:13Then lastly this button here called Full Code.
01:15So here we can see all of the code that Edge will execute when this loads in a browser,
01:21starting off with the generic function that encapsulates the entire project, and if I
01:25scroll down we can see individual elements.
01:26First, we see the red_apple mouseover here, and what's interesting is when we use the
01:32Assign actions on the stage and get our smaller code window, we only see this amount of code.
01:37What Edge is actually writing for the mouse over is all of this code here.
01:41So again, if we're inside of the stage and just, say, look at actions for that element, we just
01:46see this little bit of code here.
01:47Down from mouseout, again we would just see this a little bit of code, but in this Full
01:51Code view Edge will show us everything that it's programming.
01:54If we scroll down to the bottom we'll see down here, this is the unique stage ID that
01:58we looked at earlier on in the course where Edge actually uses this to target the main stage
02:03of this composition to start the entire project.
02:07In both this larger view and the smaller view, we do have these options in the upper right-hand
02:11corner here where we can do things like Show Line Numbers, Change Font Size, and choose
02:15whether or not we would like comments inside of our Code Snippets.
02:19These Comments are a way that Edge Animate will give us some notes or instructions on how
02:22to use individual actions that we've assigned to our objects, and help us develop the user
02:27experience that we are trying to achieve.
02:28Now the comments don't hurt the JavaScript file at all to be in here, and once you get
02:31comfortable with JavaScript and jQuery you can turn off the commenting and then keep
02:35your code windows a little more clean.
02:37
Collapse this transcript
Adding stage and preload events
00:00The Code window in Edge Animate allows us to not only assign actions to the Stage and
00:04Preloader, but to individual elements as well from one common spot.
00:08Now inside of this is composition let's come up to the Window menu, let's come down and choose Code.
00:12What we are going to do here is let's first add an Action to the Preloader.
00:17So let's come over here on the left-hand side, choose Preloader, and come over here and click the plus sign.
00:23Now inside of here we are going to get an Action called Loading.
00:26Let's come up here and delete all of this content, and let's simply add an alert.
00:30So let's type alert ('I am loading'); now this alert is being assigned to the Preloader,
00:42which means this alert should happen before anything else on the Edge composition happens.
00:47So to test this let's come up to the File menu, let's come down, and choose Preview in Browser.
00:53So while this loads we can see up here the Browser hasn't even completed loading this.
00:57It sees the JavaScript, it sees the Preloader function, and then we get this dialog box
01:01here saying I am loading. We'll click OK.
01:04This might actually trigger two or three times depending on the amount of the items that
01:07are preloading into their composition, and then when I click OK and the composition is
01:11preloaded, then the animation will play.
01:14So if there's any a JavaScript functions or instructions you want to run before the Preload,
01:18we can add them in using the Code window.
01:20So let's close our browser.
01:21Let's come back to the Code Window.
01:23Let's select that script and delete it.
01:26Let's come over here to the Preloader.
01:27Let's right-click on loading.
01:30Let's select Delete Action.
01:32Next let's come over to the Stage.
01:34Let's come over here click the plus sign.
01:36Let's add an Element Trigger.
01:39So on Elements, let's select red_apple, which is on the Stage.
01:43Let's come over here and select click and then hit Return.
01:47So now we are adding another event function on the red_apple on the Stage, but we are
01:51not doing it by right- clicking and saying Open Actions.
01:54We're doing at right from the main Code window.
01:56So let's get our cursor down to line 2.
01:58Let's come over to the Code Snippets.
02:00Let's open this up.
02:02Let's come down to Open URL, click that.
02:05Inside of here let's change the URL from adobe.com to lynda.com, and we will change _self to _blank.
02:14Now with that change in place let's close the Code window, and to see how Edge integrates everything
02:19there we are doing regardless of which Code window, let's come over here, select the red_apple on the stage.
02:24Let's right-click.
02:25Let's come down to Open Actions for red_apple.
02:28Inside of here we'll see another event here called Click.
02:31So in addition to Click we have mouseout and mouseover.
02:33So there is no difference between adding the event inside of this smaller window or using
02:40the main Code window to add additional actions to elements of our composition.
02:45Now to test this I am going to hit Command+Return.
02:48This will load in the Browser.
02:50Move my cursor over the red_apple, the rollover state changes text, and then clicking this will
02:55open the lynda.com website in another browser window.
02:57
Collapse this transcript
10. Creating Responsive Layouts
Grouping elements into symbols
00:00What we're going to cover in this chapter is converting your layouts inside of Edge
00:03Animate to work with percentage values so that we can have designs and compositions
00:07that will change based on the browser size.
00:10Now to create a responsive design out of this particular composition, we're going to want
00:14to have elements on the stage move.
00:16I want the blackboard and the chains to all move together as one item and the basket full
00:20of apples to move as another item.
00:23So the first we are going to do here is create symbols out of these,
00:26so we can set a measurement property on the symbols and not have to set measurements for
00:29lots of individual elements.
00:31Let's start with the chalkboard.
00:33Let's come over here and select the text, hold the Shift key, let's select the chalkboard,
00:39let's select the left and right chains.
00:41With all of these items selected, let's right-click on the stage, or you can go to the Modify menu
00:46and choose Convert to Symbol.
00:51Let's call this chalkboard and then click OK.
00:55Now in the Library panel I am going to close up the Images.
00:58Now under Symbols we can see our first Symbol here called chalkboard.
01:02You might also notice that the chalkboard is now showing up in front of the apple.
01:05I am going to hold the Command+[, or you can go to the Modify Arrange menu and move the
01:10blackboard back so that it is now behind the red_apple, and I also want to create a symbol
01:15out of the basket and all of the apples.
01:17Now these items will be easier to select in the Timeline.
01:20So let's move over to the Timeline.
01:21Let's scroll down here a little bit.
01:23Let's come down and select basket bottom.
01:27Let's hold the Shift key and let's come up here and select all way up to basket_handle_right.
01:32By holding the Shift key and selecting all of these items we can see on the stage they're all selected.
01:36Let's come up here and right-click.
01:39Let's choose Convert to Symbol, and we'll call this basket. Then click OK.
01:46So now we have one movie clip with all of the chalkboard elements, and another symbol
01:50with the basket and all of the apples inside.
01:53Now these two movie clips created, we basically have five Elements on this stage to worry about,
01:57the chalkboard, the apple, the basket, the background graphic, and the wood floor.
02:01
Collapse this transcript
Setting the stage measurements
00:00The first property we're going to need to set inside of Edge Animate to make our composition
00:04responsive is the stage.
00:06Now the first thing I need to do for my file is change my view.
00:08I have been working in 75% view here.
00:10I need to come in here and change this to 100%.
00:14So since my screen size is a little limited, I am going to come over here to the right
00:17and I'm going to collapse these two panels on the right.
00:20I need to able to see just little bit more of my stage.
00:22I am going to move this over.
00:25Now that I can see more of my stage let's come over to the Properties panel.
00:31Inside of the stage area of Properties we will see that we have the width set to 800 pixels.
00:35Let's come over here to the pixels.
00:37This turns into a button.
00:38Let's click this and change it to percent.
00:40Now the Width of the compositional will be the full width of the browser.
00:43Now let's come down to Minimum Width.
00:45Lets change this to 550 pixels. And for Maximum Width, let's come down here and set this to 900 pixels.
00:54Now by setting these values we're basically setting it up so that our project will never
00:57get wider than 900 pixels or smaller than 550 pixels on the horizontal.
01:03Once we make these changes you'll notice these little icons here showing up on the ruler
01:06inside of our composition.
01:08If I click on this, you'll see that it's set to 800, which is the size of the original composition.
01:13If I click and drag this you will see that I can actually drag this open up to 900.
01:19If I go past 900, it won't continue to open.
01:23But if I drag it to the left, I can drag this all the way down to 550, and then once I go
01:28below 550 that highlighted area won't go down any smaller.
01:32This gives me a live view of all of the items that I am going to be modifying inside of Edge Animate.
01:38So we'll just bring this back to 800.
01:40Now the first element we are going to change the Measurements for is going to be the floor.
01:43With the floor selected let's come over to the Properties panel.
01:47First we are going to change the Position and Size to be applied.
01:51Once I do that you'll notice that the X and Y change to Left and Top.
01:56Let's come up here and change the orientation to the right.
01:58So now the L becomes an R.
02:00Let's come in here and let's set that to 0. What this basically does is set a position right
02:06of 0 on that object, very similar to what we do with CSS.
02:10Now you'll see that the floor is actually aligning to the right-hand side of the stage.
02:14Now with the properties changed for the floor, I can grab this guide that shows me the responsive
02:18layout changes, drag this back and forth, and as I make changes to the guide I am going
02:24to get a live preview inside of Edge Animate that's going to show me how that floor is
02:28now going to react to the rest of the items in the composition.
02:31
Collapse this transcript
Adjusting the measurements of objects
00:00Changing the measurements and registration points of individual elements in our composition
00:04will allow us to get greater control over how those designs change when the browser size changes.
00:09Now in our file so far we have our floor aligning to the right-hand side of the stage, and our
00:14stage size is dynamic, or set to 100%.
00:17So we can see the floor actually moves around when we move our responsive guide.
00:20What we are going to do next is set measurements for the two symbols we created earlier.
00:25First, let's select the chalkboard.
00:28Let's come over here to the Properties panel.
00:30Over here for the X property, let's come over here to the value unit and let's click this
00:34to change it to percent.
00:37Now when we come up and grab the responsive guide and move this, you will see that that
00:40item moves slightly on the left-hand side.
00:43Basically, that measurement sets the left- hand side to 5% of the overall stage size.
00:48Let's move the stage size back to 800.
00:50This was the original composition.
00:52Let's grab the basket.
00:54Let's change the registration size, or the relative point, to the right.
00:59Let's come down to the X property, let's click on Pixels again, and change that to percentage.
01:04So now when we come up here and move our responsive guide, we can see the basket is moving much
01:09more substantially since it's oriented to the right-hand side of the stage and we can
01:13see these items are collapsing down.
01:18Now one thing we notice right away, the basket is actually behind the chalkboard.
01:21We wouldn't have seen this before since our design was static, but now that the individual
01:25items are moving around and interacting with each other, we can now see that we need to
01:28change the stacking order.
01:30So let's grab the chalkboard, hold the Command+[ or Ctrl+[ and move that to the background.
01:36Or again, you can use the Arrange menu under the Modify menu.
01:40So now that the layering is correct let's come up here and let's move this down.
01:44We set a minimum size of 550.
01:47When I move this down, I can see that we really don't have a lot of room for 550.
01:51We can make some adjustments.
01:52So first let's select the chalkboard.
01:54Let's come over here and let's dial this down a little bit.
01:58Bring this to around 2%.
02:01Let's grab the basket.
02:03Let's move this to the right a little bit.
02:05Even with moving these out a little bit, I still need a little bit more room.
02:09Now to test to see how much room I need, I am going to come back to the responsive
02:12guide and drag this out so that I can see all of the ellipses.
02:16I don't want the basket to touch any of the text.
02:19So if I come out to about 575, that's going to give me just about enough room for all
02:23of my design elements.
02:25So I have two choices, I can either resize my artwork or I can change the stage size.
02:31To change the stage size, make sure nothing is selected, come back to the Properties panel,
02:35let's come up here to the Minimum Width, and let's change that to 575, and then hit Return.
02:43Now my responsive guide in the stage won't go below 575, and now I have ensured that my
02:47design will work at the lowest size and the highest size of my responsive composition.
02:51
Collapse this transcript
Using presets for responsive layout
00:00Edge Animate contains presets that we can assign to individual elements to help make
00:04our design responsive.
00:06Now inside of this file in the upper right hand corner if I grab the responsive guide,
00:10we can see that we have the chalkboard and the basket already set to use percentage-based measurements.
00:15However, the apple in the center isn't moving.
00:19So let's select the apple, and instead of trying to figure which settings we need to change
00:23in order to get this to be responsive, we are going to come over here to and click on
00:26this button here, which is the presets for responsive layout.
00:29Once we have this selected, let's come down here and we can see all of these different settings.
00:33The top two here have to do with the object's scale and position on the stage.
00:37The bottom ones here have to do with background images that are inside of certain elements.
00:41For the apple we are going to come up here and select the very first one, Scale Position.
00:45Once I select this, let's come over here to the right.
00:47After Edge explains to us what it's going to set, we can click Apply.
00:52After I click Apply, you will see that we have some percentage values that are now set
00:55inside of the Properties panel, and if we come up here to our responsive guide, drag this
01:00around, we can see the apple is now moving as well.
01:04So I'll grab this responsive guide and drag this down as low as it can go, which is 590 pixels.
01:10We can see the apple is now overlapping some of the text.
01:13So in the lowest state let's come over here to the Properties panel, let's scrub the X value.
01:20Let's increase this a little bit so that the apple won't actually intersect with the type.
01:23Now that we have the apple positioned properly, let's work on the background graphic.
01:28So let's come up here to the responsive guide.
01:30Let's drag this out to 800 pixels.
01:33In the original composition I wanted to have the rays emanating from behind the basket.
01:36However, when I resize this, we can see that the background graphic is remaining static,
01:40and I don't want to be able to see the center point here.
01:43So I'm going to move the responsive guide back to 800.
01:46Let's select the background, and I can tell the background is selected by the fact that
01:50it's selected here in the timeline.
01:52Now with the background selected, let's come up to the Properties panel.
01:55Let's come over to our presets for responsive layout.
01:58Let's come down to the background settings, and the first one I'd like to try would be Scale Background.
02:03So I'll select this, click Apply, let's come up here to our responsive guide. Let's move this.
02:10So as I increase this, I can see the background is scaling up, and when I get below 800, it
02:15starts to scale down.
02:17But this is also giving me the undesired effect because I don't want to see the center point
02:21of all of those rays.
02:23So let's bring this back to 800.
02:24I still have the background selected.
02:27Let's come over to the preset and let's come down and change this to Center Background Image.
02:32Then click Apply.
02:34Now if I come up here and grab our responsive rule, I can see that this has a more aesthetic
02:39effect with the background.
02:41So it does actually move.
02:42But if I come up here to 900, in the upper left hand corner I can start to see the edge
02:47of that SVG graphic.
02:48So I have two choices here.
02:50One, I can go back to Illustrator and recreate a larger graphic.
02:54Or the second option is I can actually change the orientation point.
02:58So to change the orientation point here I am going to simply click on the background graphic.
03:01I am going to move this a little bit to the left, and instead of having the rays emanate
03:06from behind the basket, I am going to bring these down to about the middle of the floor
03:10and into the middle of the composition.
03:11Once I have moved that, let's come back to our responsive guide and now I can see the
03:16background graphic positions itself with the center of the composition.
03:20So now that we have all of our responsive measurements in place, let's test this in a browser.
03:24We'll come up to the File menu, choose Preview in Browser.
03:27Now we'll see the apple drop into place.
03:30Let's come over here and resize the browser.
03:33Notice the design won't go wider than 900, but as soon as we get under 900, the design starts to respond.
03:40I can see all of the elements moving.
03:42Once we get under 575 pixels the browser will lock the width and then will invoke horizontal scrolling.
03:48So let me open this back up.
03:51So at this particular state right here, let me just hit Reload.
03:53You will notice that the apple animates in its current place, the chalkboard symbol fades up the type.
03:59I'll open the window up a little bit more and hit Reload.
04:02As you can see all of the individual elements are responding to the size of the composition.
04:07However, all of the individual animations inside of the symbols and on the stage are
04:11still playing regardless of their position in the overall composition.
04:15So by combining percentage-based measurements and using the presets for responsive layout,
04:20Edge Animate gives us some really quick and efficient ways to create compositions that
04:23can scale and adapt to the size of the browser.
04:26
Collapse this transcript
11. Using Web Fonts in Edge Animate
Using fonts from Adobe TypeKit
00:00In this lesson we are going to add some web fonts to our Edge Animate composition using Adobe Typekit.
00:05Now inside of this composition what I'd like to do is use a custom font for the text that's
00:08inside of the chalkboard here.
00:10So the first thing we need to do is log in to our Adobe Typekit account through a web browser.
00:15Now once you have logged into your Typekit account let's come over here to the upper
00:19right-hand corner, choose Lunch Kit Editor.
00:23This is going to show me all of the fonts that I have activated in this kit.
00:26One setting you want to make sure you have set is under Kit Settings.
00:30For your Domains, make sure you have localhost and 127.0.0.1.
00:36You can see those as a note down here underneath that field.
00:39This will allow you to preview Typekit fonts on your local machine when you preview from
00:43browser inside of Edge Animate.
00:46Since I have these set already I am going to hit Cancel.
00:49Inside of my Typekit I am going to come down and choose the font that I have selected called Edo.
00:53With this font selected I am first going to come up here and choose Embed Code.
00:57That's going to bring up a modal dialog window where I can come in here and copy these two
01:00lines of JavaScript.
01:02Let's copy these to the clipboard.
01:04Back inside of Edge Animate, over in the Library panel, under the Fonts area, let's go over here
01:09to the right, click on the plus sign.
01:12This is going to bring up a dialog box inside of Edge Animate that's going to want two things,
01:15the font name and the Embed Code.
01:18Now we have the Embed Code on the clipboard.
01:20Let's come in here and paste it.
01:22Now for the Font Name, we need to go back to Typekit to get the exact CSS name.
01:27Now back in the Typekit website let's close the Embed Code.
01:31I still have my font selected.
01:33In the upper left hand corner, I can see this link here that says Using fonts in CSS.
01:37Clicking on this link will bring up another modal dialog window where I can see the actual name of the font.
01:42Let's come down here, and I can see that it's named Edo inside of quotes.
01:47So what I want to do is come in here and select just the font names, not the semicolon.
01:52Let's copy that to the clipboard.
01:54Now back in Edge Animate I am going to highlight the Font Fallback List here and then paste in those names.
02:00Once those are both in place let's choose Add Font.
02:02Now I can see in the lower right hand side I have the font called Edo.
02:06Now I need to assign this to that text field.
02:08So let's come over here.
02:10When I select this item, this is a symbol.
02:12So let's double-click it, go into Isolation mode.
02:15Now I am inside the individual symbol.
02:17I'll click again to select the text block.
02:20Once I have the text block selected I can come over here to the Properties panel.
02:23Under text I am going to grab the Font menu, and now I can see the custom font that I have
02:27added from Typekit is showing up here.
02:30I'll select my web font and then I'll see right on the stage the font actually changes.
02:34Now in some cases you may not see the font change.
02:37This depends on the configuration of your computer and the settings you have picked
02:40inside of your Typekit account.
02:42If you don't see the font changing here, you can simply come up to File > Preview in Browser.
02:52Then the animation will play and you will see the font inside of your Preview in Browser.
02:57You will also see in the URL field of the browser the 127.0.0.1.
03:02This is a common localhost IP address, and this is also the number that we added to our
03:06Typekit settings in addition to the word localhost, which again, tells Typekit to allow us to see
03:11that font on our local machines in addition to up on our web server.
03:15So by adding Embed Code and Font names from the Adobe Typekit website, we can add these
03:19web fonts to our Edge Animate compositions.
03:21
Collapse this transcript
Using fonts from Google
00:00In this lesson we are going to add some web fonts to our Edge Animate composition using Google Web Fonts.
00:05Now to add a Google Web Font to our Edge Animate composition, first we need to go over to the
00:09Google Web Font site.
00:11On the Google Web Font sit I first want to search for a font.
00:14Let's come over here to the Search field.
00:17Let's type in loved.
00:18I want to search for the font Loved by the King, this one here.
00:22Now we don't have to have a specific account since most of the fonts on Google Web Fonts are free.
00:27So when I find this font, I can come over here and click on this link here that says Quick-use.
00:33Clicking on that link will give me all of the font properties.
00:36Let's scroll down here.
00:38Inside of this tabbed panel, let's first come over to the Javascript tab.
00:42I'll scroll up here a little bit.
00:44Let's come in here and select this entire script.
00:47Let's copy that to the clipboard.
00:49When we move back over to Edge Animate, over in the Library panel under the Font section,
00:54let's come over here to the right and click on the plus sign.
00:57In this dialog box here Edge Animate wants two pieces of information, the Embed Code
01:01and the Font Name and Fallback list.
01:04So let's click inside of Embed Code.
01:06Let's paste in that Javascript we got from the Google website.
01:08Next, we are going to need the Font Fallback List up here.
01:12Let's switch back to the Google Fonts Website.
01:14Back on the Google Web Font site, let's scroll down.
01:18Under section 4 we can see the font-family name.
01:22Let's come in here and let's select Loved by the King, and the comma, and then the Fallback
01:27Font of just cursive.
01:29Let's copy that to the clipboard.
01:31Back in Edge Animate under the Font Fallback list, let's paste those and then click Add Font.
01:36Now we'll see that font shows up in the Library panel under the Font section.
01:40Now to apply this to our font let's select this symbol that has the text.
01:44Let's double-click this to go into Isolation mode.
01:47Let's select the text field again.
01:49Now we can see that we have the text item selected.
01:51From the text dropdown menu in the Properties panel let's come down and choose Loved by the King.
01:56Once we select this we'll see the font show up right on the screen.
01:59Now I might want to make a few adjustments here.
02:01So inside of the Properties under Text, we see this little expansion button here.
02:05If I click this we can get access to some additional text properties.
02:09First I might want to change the line-height.
02:11So I can grab this and sort of scale this up and down.
02:15We can also come up here and change the font size.
02:17So I'll adjust that first and then adjust the line-height.
02:22Once I have the settings the way I want, I can test this in a browser by going to the
02:26File menu and choosing Preview in Browser.
02:31So by adding our Embed Code and the actual font name in the Fallback List, we can activate
02:36web fonts inside of our Edge Animate project coming directly from the Google Web Fonts service.
Collapse this transcript
Using fonts from Extensis WebINK
00:00In this lesson we are going to be adding some web fonts to our Edge Animate composition
00:04using Extensis WebINK.
00:06Now before I can define a font inside of Edge Animate here I'll need some information from
00:10the Extensis WebINK website.
00:12Now on the WebINK website I already logged into my account.
00:15I am going to come up to the top tab here and choose Type Drawer.
00:19I choose my project.
00:21So inside this project, I have a font called Toms Hand Written Regular.
00:25What I am going to do above here is come over here to the Get CSS.
00:29Click on this link.
00:31This is going to give me all of the information that I need to know about the font.
00:34In the first section here I have a link for non-secure pages, and below it we have a link for secure pages.
00:40So basically the difference is whether it has HTTP, or it runs from a secure server with HTTPS.
00:47I am going to select the first one here, copy that to the clipboard, and then move back
00:52over to Edge Animate.
00:54On the right-hand side, in the Library panel, under Fonts, let's come over here and click the plus sign.
00:59This is going to give us a dialog box that wants two pieces of information, the Embed
01:03Code and the Font Fallback List.
01:05So that piece of code that we just copied from the Extensis website goes into the Embed Code.
01:10So let's click here and activate that field.
01:13Let's paste the Embed Code in.
01:14Now we are going to need the name of the actual font to go into the Fallback List.
01:18Let's switch back to the WebINK website.
01:21Back on the WebINK website, let's continue to scroll down.
01:26We'll see information about the CSS Properties inside of the Font faces included in the link.
01:31So let's come over here, and under Font-Family Name, let's copy this.
01:37Let's switch back to Edge Animate.
01:39Inside of Edge Animate, let's add a quote.
01:41Let's paste the font name, another quote, and then a comma, and let's add san-serif as another Fallback.
01:51Then choose Add Font.
01:53Once we have completed that we'll see the font show up over in the Library panel.
01:57Now to apply this to that text field let's come over here to the stage.
02:01Let's select this symbol that contains the chalkboard.
02:03Let's double-click to go into the Isolation mode.
02:06Let's select again to select the type field, and over here in the Properties panel, under
02:10the Text drop-down menu, let's select this and we'll see the font that we just added
02:14from Extensis WebINK.
02:17Once I select the font we'll actually see it changed on the stage.
02:20Inside of the text properties panel there is this little expansion button here.
02:24You can toggle this open and closed.
02:26In its open state you'll get access to some additional properties for our font formatting.
02:31The first thing I'll do is come up here, and let's scrub the size of the type.
02:35Make this a little bit bigger, and then I'll decrease the line-height.
02:42Once I get these looking the way I want, let's come up to the File menu, and let's choose
02:45Preview in Browser.
02:48In the browser we can see the WebINK font running inside of our composition.
02:52So by adding the Embed Code and the Font Fallback Name, we can add fonts from Extensis WebINK
02:57right into our Edge Animate compositions.
02:59
Collapse this transcript
Using fonts from Edge Web Fonts
00:00 Edge Animate 1.5 includes a great service from Creative Cloud called Edge Fonts.
00:04 To follow along in this example, go into Chapter_11, open up Edge Web Fonts and
00:09 then web_fonts.an. Inside of Edge Animate, on the right hand
00:12 side, under the library panel, we have a fonts category here.
00:16 Simply come over here and click on the plus sign.
00:18 Edge Web Font will open by default. In previous chapters, we talked about how
00:22 to add a custom font to your library, and you can click on the custom tab here to
00:26 access that method. But under Edge Web Fonts, let's come down
00:30 here and click inside of the search field, and we can do a live search, based
00:33 on Adobe's Typekit service. I want to look for a handwriting font.
00:37 So I'll start by typing hand, I'll get a live sort here.
00:39 So let's come down here. I'm going to pick just another hand.
00:43 Then simply click Add Font. This will automatically add the necessary
00:47 JavaScript in CSS to our composition to activate this web font.
00:51 Now to use this, let's come up to the stage.
00:53 Let's double-click on this animated symbol.
00:56 This'll bring us into isolation mode. Let's select this text field here.
01:00 In the Properties panel, we can see this is currently set to Arial, Helvetica.
01:04 Let's select the drop-down menu, and then select just-another-hand comma cursive to
01:09 apply this font. Next let's come down to size.
01:12 Let's scrub the size up a little bit. going to bring this up to around 102.
01:17 Then open up the additional text properties with this little arrow here.
01:21 Let's come down here and let's decrease the line height.
01:25 Bring this somewhere around 85. So as you can see edge web fonts give us
01:29 a really quick and integrated way to work with Adobe Typekit inside of Edge Animate.
01:33
Collapse this transcript
12. Considering Older Web Browsers
Creating a poster image
00:00Edge Animate gives us a really quick way to add a poster image to our composition.
00:04Now a poster image is a static graphic that shows in place of an edge composition before it loads.
00:09You'll see this in some interactive projects like digital magazines and iBooks.
00:13So to create a poster frame image let's come down to the timeline.
00:16We can grab the playhead and scrub through the animation and find the exact frame that
00:20we want to use for our poster image.
00:22Once we find that exact frame, let's come over to the Properties panel.
00:26Next to the Poster image, let's come over here and click on the camera.
00:30This will bring up the dialog box, which will let us capture the current state of the playhead.
00:34So down here I'll just click Capture.
00:36As soon as I click Capture, you will notice over in the Library panel we now see this
00:40Poster.png that was created for us.
00:43Now there are two places that this poster frame will be referenced.
00:46First is in the Publish Settings, especially for digital magazines and for iBooks, but
00:50we also might want to use it for a down-level stage, which we'll talk about in the next lesson.
00:54So first let's come over and click Publish Settings.
00:57So inside of Publish Settings let's come over to the Animate Deployment Package.
01:00We'll see that the Poster Image has now been set to the one we just created, and if we come
01:05over here to iBooks / OS X, we'll also see Poster image is set here as well.
01:09Now we'll talk more about the Publish Settings in a later chapter, but just realize that
01:13creating that Poster image Edge will automatically create the necessary settings for the different
01:17publish options when we create that.
01:19Let's come down here and choose Save.
01:21So using the Capture tool inside of Edge Animate, we now have a poster frame that we can use
01:25for a down-level stage for older browsers, and interactive projects that will show the
01:29poster frame to initiate our composition.
01:31
Collapse this transcript
Creating a Down-Level Stage
00:00Edge Animate provides us a really elegant way of creating an alternate composition for
00:04older web browsers.
00:06Now the idea behind a down-level stage is that we create a composition that older browsers
00:09can see while more modern browsers see all of the interactivity and animation that we are creating.
00:14To activate the Down-level Stage in the Properties panel, come over to Down-level Stage and click
00:19on the Edit button.
00:20You will see in the stage area we are now inside of what looks like a symbol, and we
00:25can get back to the main stage here, very much like being inside of Isolation mode, but inside
00:29of this Down-level area what we can do is drag artwork and assets from our Library panel
00:34and create an alternate composition, but most likely you'll want to use the Poster image.
00:38So notice in the Properties panel we have the Insert Poster image set here already.
00:43So if you have created a Poster image for your composition, you can click the Insert
00:46button and have it added automatically.
00:49Now with the graphics selected you will also notice that we can add a link to this.
00:52So let's come in here and add a link to lynda.com, http://lynda.com.
01:01The idea behind this link is if somebody can't see the composition, they will at least see
01:05this particular Down-level Stage and they can link to another area where you might have
01:10the same content, just not in an animated or interactive format.
01:14In addition to adding the poster frame, we can come over to the Assets panel and add
01:17additional content.
01:19So I'll just grab the green apple here and just drag and move this in here as well.
01:22I'll open the stage up a little bit.
01:24Now I can come in here and add additional artwork.
01:27We can even add additional content and text, but you'll notice down here that the timeline
01:31has been disabled, and again the assumption here is that the browser doesn't support some
01:35of things we are doing with our animation and interactivity.
01:38So we want to have a much more simplified stage here that the browsers can see instead.
01:43Once you have completed your Down-level Stage, you can simply come up to the top of the Stage,
01:47click on the Stage icon here, come out of the Isolation mode for the Down-level Stage,
01:52and then continue working on your project.
01:54So by activating a Down-level Stage inside of Edge Animate, Javascript will be used to
01:58determine what the browser is capable of showing, and Edge Animate will do the programming automatically
02:03to show them the Down-level Stage, versus the interactive animated content that we've been
02:07creating throughout this course.
02:08
Collapse this transcript
Adding a preloader for your project
00:00Edge Animate gives us the ability to customize the Preloader inside of our composition.
00:05Now by default Edge is automatically going to preload all of our compositions.
00:08We have the ability to edit the Preloader and show alternate content to the user while
00:13all of the frameworks and assets are being loaded into the user's browser.
00:17To edit the Preloader, let's come down here to the Preloader area and let's choose Edit.
00:21By default, the JavaScript that's going to perform the Preloader is going to take 4 kilobytes,
00:24and we can see that up here. In the main Stage area, very similar to the Download Stage,
00:30we can put together a preloading screen that the user will see.
00:34We also have a series of Preloader Clip-Art.
00:36So let's come up here and choose Insert Preloader Clip-Art.
00:40I'll select the first item here.
00:41These are a series of animated GIFs that will just play in a loop while the content is being loaded.
00:46With one of these selected let's come down and choose Insert.
00:50We can see the animated GIF playing on the stage.
00:52We also get a readout here of how much data the Preload is going to take.
00:57We have just added 1 kilobyte of data for images in addition to 4 kilobytes of data for JavaScript.
01:02So now the Preload is going to take 5 kilobytes.
01:04Now we can come over to the Library panel and add additional artwork.
01:08So maybe I want to grab the green apple, drag it to this stage. I'll do Command+[ or Ctrl+[ and move that to the back.
01:16Now I'll have a preloading screen that's more interesting to look at.
01:19However, when I click on the stage and come over here, now I have increased my Preloader
01:22from 5 kilobytes to 18 kilobytes.
01:24So I am sort of going backwards in the idea that I want to have the Preloader load as
01:28quickly as possible to indicate to the user that more content is being loaded.
01:33So if I decide against having the extra artwork, I'll come over here to the stage, delete that,
01:37and now I can see the Preloader is back to 5 kilobytes.
01:40Now once you have your Preloader screen set up the way you like it, let's come back up
01:43to the stage item here, come out of the preloading isolation mode, and back to our main stage.
01:49There is another option you'll see under the Preloader and that is this drop-down menu.
01:53There are two choices in here, Immediate and Polite.
01:56Now if you choose the Polite setting, what that does is, Edge won't load all of the frameworks
02:01for this composition until the page load has happened.
02:04Now if you choose Polite, this allows other frameworks used in your website to load before
02:08the Edge Animate composition begins to load.
02:10If you choose Immediate, all of the frameworks will start to be loaded into the browser the
02:14second the HTML hits the browser so that the composition can be played as quickly as possible.
02:19These two choices give you the utmost control on whether or not the Edge compositions are
02:23going to wait for other items or start to play immediately inside the browser.
02:26
Collapse this transcript
13. Working Between Edge Animate Projects
Working with multiple open documents
00:00Edge Animate allows us to have more than one document open at a time, and we can share animations
00:04and elements across compositions.
00:07Once you have the first project opened in Edge Animate, let's go back to the operating system.
00:11Let's come down and open sample_project_2.an.
00:14Now when you have more than one document open inside of Edge Animate, above the stage we'll
00:18see a drop-down menu.
00:19This menu will show you the two different projects you have open.
00:23So I can come back here and switch to project_1 or switch over to project_2.
00:27Now the first thing we'll do is share an animation that we have set in project_1 with project_2.
00:33In here in project_2 if I hit the Spacebar to preview this animation, the only thing
00:37animated here is the symbol on the stage.
00:39Let's come back to project_1.
00:41Hitting the Spacebar here, we can see we have an animation of the apple dropping.
00:46So let's come down here, select the apple, this will also select the apple on the timeline.
00:50We are going to come down here and click on the top bar here, the rollup, to select all
00:55of the different keyframes.
00:57Let's come up to the Edit menu, let's choose Copy, let's switch over to project_2, let's
01:04select the red apple, then go back to the Edit menu, and choose Paste.
01:09So now we have taken all of the animated elements from the first project and applied them to
01:12the second project.
01:14With these in place let's grab this entire animation.
01:16Let's slide this back.
01:19Hit the Spacebar to preview, and now we have the animation on the red apple.
01:25To apply the same thing to the green apple let's select that, choose Edit > Paste.
01:29Then we'll drag the composition back so that the green apple happens just a little bit
01:34after the red one, and now we have shared animation properties from one apple in project_1 to
01:39two different apples inside of project_2.
01:42Now the other thing we can do is share elements as well.
01:44So in project number 1 we don't have any green apples in that particular composition.
01:48Here in project_2 we have some green apples and red apples.
01:51So let's come over here to the stage.
01:53Let's select the green apple.
01:53I am going to hit Command+C or Ctrl+C to copy that to the clipboard.
01:57Let's switch back to project_1 and hit Command+V or Ctrl+V to paste that on the stage, and now
02:04we can see we now have a green apple in our composition.
02:07What this does in addition to putting the green apple on the stage is you will notice
02:10that we now have a green apple in our assets as well.
02:13So what this means is I can delete this from the stage, come into the basket, let's select
02:19this one apple here.
02:21Let's come over to the Properties panel.
02:23Down under the images area, let's switch the image from red apple to the green apple.
02:27Now of course what this also means is the green apple artwork has now been added to
02:31our operating system as well.
02:33So if we go back and look in our operating system under sample_project_1, if I open the
02:37images directory now, we'll see that a copy of the green_apple.png file has been copied
02:41from project_2 into project_1.
02:44So having multiple documents open inside of Edge Animate gives us a really quick and efficient
02:47way to share content across compositions.
02:49
Collapse this transcript
Exporting and importing symbols
00:00Edge Animate gives us a special way to share symbols across compositions.
00:04Now in this composition we have a symbol on the stage, the chalkboard symbol here, and
00:08we can see over in the Library panel, under the Symbols area, we see the chalkboard symbol.
00:12So one option is we can copy this and paste it into another open project and it will copy
00:16this symbol to that new project.
00:18But with symbols we have another way that we can share these.
00:20If we right-click on a symbol in the Library panel, come down and choose Export, we'll
00:25get a Save dialog box, which will allow us to save this individual symbol as its own file.
00:31So I'll name this chalkboard.ansym, which is short for animate symbol.
00:36Then come over here and choose Save.
00:39Now we have a copy of that entire symbol saved in its own separate file.
00:42To import symbols, let's come up to the File menu.
00:46Let's just create a blank, empty composition inside of Edge over in the right-hand side,
00:51under the Library panel, under Symbols.
00:53Let's come over here to the plus sign.
00:55I'll click the plus sign, choose Import Symbols.
00:59Now from the desktop we'll see the chalkboard.ansym. Click Open.
01:04That will put the chalkboard in my library panel, which I can click and drag, drop this
01:09on the stage, hit the Spacebar to preview, and now the Edge symbol that we saved as a
01:13separate file is now imported and playing properly in a brand-new Edge composition.
01:17
Collapse this transcript
14. Publish Settings
Publishing for the web
00:00Edge Animate gives us a variety of options for publishing our composition out to a website.
00:04Now, with our composition open, let's come up to the File menu, let's choose Publish Settings.
00:09In this dialog box, we have three main targets that we publish out to: Web, Animate Deployment
00:14Package, and iBooks.
00:15First, let's come over here and choose Web.
00:18Under the Web settings, we have a couple of options.
00:20First is the Google Chrome Frame.
00:22This is a technology from Google, which will enable Internet Explorer 6, 7, and 8 to play
00:27more modern-based websites.
00:29If you check this option, you have the additional option of choosing whether or not there's a prompt.
00:34And the prompt can either be from the iFrame Prompt or an Overlay Prompt.
00:38You can also choose No Prompt, in which case the technology from Google will be added to
00:41your HTML page when users are using those browsers.
00:45And if you choose not to use the Google Chrome Frame, then the users who are using those
00:48browsers will see the down-level stage that we set up earlier in the course.
00:52The next option is to load frameworks from a CDN.
00:55This is a Content Delivery Network.
00:56So, instead of having jQuery copied to your machine and loaded from your server, you can
01:01opt to have jQuery loaded from an outside source.
01:04In this case, it's going to load it from Google's API website.
01:07Then lastly we have the ability to publish content as static HTML.
01:11I'm going to leave this unchecked for the first path, and we'll take a look at what
01:14the Edge Animate writes when we publish this out.
01:17So now to publish this, I'm going to come up here and just move the background document
01:20over to the right here.
01:22I want you to be able to see the Chapter_14 folder on the operating system.
01:26Now, inside of the Publish Settings, I'm going to come down and click on this Publish button.
01:29Once I do that, the dialog box will go away, and we'll see that we have a brand-new Publish
01:34folder in the operating system.
01:36So, let's come over to the operation system.
01:38Let's open up this Publish folder.
01:40We have the first folder in here called Web, which is the first of the three options we
01:43have in our Publish Settings.
01:45And inside of here, we have our Includes, our Images, all of our JavaScript, and our HTML.
01:51We basically get the same set of files from our main project folder but without the Edge Animate document.
01:56So, to take a look at the HTML, let's grab this HTML and open this up in a text editor.
02:01So in a text editor here, we can see that we have a script at the top, which first loads
02:07our edgePreload, and this JavaScript in turn loads all of the other JavaScript for the
02:11page, and all of the assets and does the preload.
02:14We have a style element here.
02:17And then down here, notice we have just one single div with an ID and a class of the stage
02:22ID name that we saw when we created our composition, and everything else gets injected or added
02:27through JavaScript to generate the rest of the page.
02:31Now, one downside of this approach is that there's no content on this page that can be
02:35searched by Google.
02:36So, let's close this from our text editor.
02:39Let's come back to our Edge project.
02:42Let's go back to the File menu, back to Publish Settings.
02:44I'm going to come in here, and check the Publish content as static HTML.
02:48I'm going to click the Publish button again.
02:51Edge is going to rewrite the content inside of this web directory.
02:54Now, I'll reopen the ready_to_publish.html file up in a text editor.
02:58So now we can see that Edge Animate will write all of the HTML into the page.
03:03I can even see things like an apple a day, for example, which is some text that's set
03:07inside of a symbol.
03:08So now all of this text is written into the HTML page, and can be seen by search engines.
03:12So this is a possible publishing option inside of the Edge Animate Publish Settings.
03:17Next, we'll take a look at where our composition is loading our jQuery library.
03:21So let's close out of our text editor.
03:22I'm going to open up the ready_to_publish.html up in our browser.
03:28I'm going to right-click, and use a diagnostic tool to inspect where the content is loading from the site.
03:33So, under Scripts, I can select jquery here.
03:36Now, we can see that the jquery file is being loaded from the Google API server instead of our server.
03:42So with all of these options in place, Edge Animate gives us quite a few options for how
03:45we publish our content that we want to use in our website.
03:48
Collapse this transcript
Publishing to an Animate Deployment Package (OAM)
00:00Another publishing option we have from Edge Animate is to publish out to an Animate Deployment
00:04Package or an OAM file.
00:06Now, so far, we've published a web version of our project and we can see in the Publish
00:10folder that Edge created, we have another folder in there called Web.
00:14Inside of our Edge Animate composition, let's come up to the File menu, and let's come down
00:17and choose Publish Settings.
00:20So again, so far, we only have the Web setting here.
00:22Let's come down to the second option and check this, Animate Deployment Package.
00:27In the settings on the right-hand side, we can see that this is going to create a .OAM file.
00:31Basically, this is a zip file that has all of the contents inside of one file, and we
00:36can use this file and other Adobe applications such as Adobe InDesign for publishing out
00:40to the digital publishing suite.
00:42We can use it inside of Adobe Muse, and inside of Dreamweaver CS6.
00:47The other settings we can change here are the target directories, the name of the file
00:50that's going to be created, and we can see our poster images being used here as well.
00:54So with this checkbox selected, let's come down and click the Publish button.
00:57Now, in the operating system inside of the Publish folder we can see we just got another
01:01folder inside of here called animate package.
01:04Let's open that up, and we'll see ready_to_publish.oam.
01:09And with this file created, we're ready to use this in other interactive projects using Adobe applications.
Collapse this transcript
Publishing for iBooks and OS X
00:00The third publishing option we're going to look at from Edge Animate is going to be to
00:03publish out to OS X and iBooks.
00:06Inside of our composition, inside of Edge Animate, let's come up to the File Menu.
00:09Let's come down and choose Publish Settings.
00:12So in here, we're going to come down and select the third option iBooks/OS X. Let's check this.
00:18What this is going to do is create a folder with the extension .WDGT.
00:23This is the Widget Format for OS X and we can use this in OS X's Dashboard, and we can
00:28also use these to important into iBooks Author to create an interactive textbook for the iPad.
00:34So down here we can choose where this is going to be saved, the name of the widget, and this
00:38is also going to make use of the Poster Image.
00:41Now as a side note for the poster image, the size of the poster image will determine the
00:44size of your widget inside of OS X's Dashboard, and it will also determine the size of the
00:49stage for the overlay in iBooks Author when you place this in and look at it on your iPad.
00:55So if you're using responsive design inside of Edge Animate, you'll want to make sure
00:58you sized image appropriately for your final dashboard widget or iBooks Author overlay.
01:04Once we have our properties set, let's come over here to the Publish button in the lower left corner.
01:09I'm going to click it, and the first dialog box we're going to get is Edge Animate telling
01:13us that we have a couple of files that are not supported in iBooks Author.
01:18So this is a great feature and really helps to make sure that the file that we're going
01:21to be publishing is going to work on our desired platform.
01:24So basically what it's telling us here is that we can't use animated GIFs and we also can't use SVG.
01:29So let's click OK here.
01:32That's going to cancel us out of the Publish Settings, and what we need to do now is go
01:35get rid of any animated GIFs that we're using in our project.
01:38And earlier in the course we actually created a Preloader using one of the animated GIFs.
01:43So back in the Properties Panel, let's come down to the Preloader, let's click Edit and
01:48we'll see that animated GIF sitting on the stage here.
01:51Let's come in here, let's select and delete that, and instead of an animated GIF, let's
01:56come up here and select the Text Tool, and let's type Loading, please wait...
02:05Let's close the Text dialog box.
02:06I'll just move this down to the center.
02:11We'll change the type to just be light gray.
02:14Now we still need to get rid of the animated GIF, so let's come back to the operating system,
02:19let's open up the images directory, let's come down and find preloader2.gif. Let's delete that.
02:26We'll move it to the Trash, and we'll also need to delete the background.svg as well,
02:31since that's also not supported in iBooks.
02:34So let's select the background.svg in the images directory.
02:37Let's delete that as well.
02:39Let's come back to Edge Animate.
02:41Edge is going to alert us that files have been changed.
02:43Let's come over here and click Yes.
02:45I'm going to grab my document and move it back over.
02:50Let's come out of our Preloader, so I'm going to come up and click on stage.
02:52I'm going to select the background.
02:56I'm going to delete that SVG item and I have a background.png that we're going to use instead.
03:02So let's grab this and drag this onto the stage. I use my Command+[ to move that to the back, and now
03:09if I look in the Library Panel I don't have any SVGs or any animated GIFs.
03:13So let's choose File and I'll move this over a little bit so we can see the operating system.
03:19Let me close these up, I want to see the Publish folder.
03:23Let's come back to Edge, let's choose File > Publish Settings.
03:27Now let's come down and click Publish.
03:29iBooks is still selected.
03:31Now we have a brand-new folder inside of here called iBooks in the operating system, let's
03:35open that up, and we see ready_to_publish.wdgt.
03:39So now we have a widget that we can use in our OS X Dashboard, or we can use this in our
03:43iBooks Author to create an iBook for the iPad.
03:45
Collapse this transcript
15. Using Edge Animate on Existing HTML
Animating elements of a responsive web design
00:00In addition to working with content that we create inside of Edge Animate, we can also
00:04use Edge Animate to work with existing HTML.
00:06Let's open up Chapter_15 and copy the existing Web Design folder to your desktop.
00:11Once that's copied, let's open this up and let's open up the index.html file up in a browser.
00:17Now the project we're going to work with is from the creating a responsive web design course.
00:20This features a design that will change based on the size of the browser.
00:25So this is the large screen view.
00:26If I collapse this down, we switch to the medium screen view.
00:31And then, if we go down even further, this goes into the mobile screen view, where the navigation
00:35that was in the orange box now moves down to be at the bottom of the screen.
00:39Let's close this out of our browser.
00:40Let's switch over to Edge Animate.
00:42And inside of Edge Animate, let's come up to the File menu, let's choose Open.
00:47From the Desktop, let's choose the existing web design folder, and let's choose the index.html
00:52file and then click Open.
00:54So, inside of Edge, we'll see that exact web design showing up inside of the stage area
00:59and the responsive design aspect works as well.
01:01So I can come in here and resize the stage, move this down, and Edge Animate will show
01:06me a live preview of this design changing based on the media queries that are part of this web project.
01:14Let's open the Stage backup.
01:16And we can see the large screen size.
01:18So, I'm going to collapse this down so we're looking at the medium size screen.
01:22Now, this is where the Elements Panel is going to become really important inside of Edge Animate.
01:26So here, we can see all of the HTML that Edge is detecting inside of this file, and giving us access to.
01:33So, in the main file, we have a header, article, a div container holding the promos, a nav
01:38element, and a footer, and those are the five main components that make up this particular web project.
01:44If I use the eyeball and click on and off some of these settings, I can see where the
01:47header is, where the article is.
01:50If I scroll down, I can see where the div container is for the promos, and the nav item.
01:56So now what we're going to do is animate some of the content in this existing website.
02:00First, I'm going to come over to the Element Panel and toggle open the nav element, and
02:04I can see the four anchor tags inside of here. I'm going to hold the Shift key and select
02:09all four navigation items.
02:11Let's activate Auto-Keyframe, Auto- Transition, and turn on the Toggle Pin.
02:17Let's grab the Toggle Pin, drag this out to 1 second.
02:20Let's come over to the Properties Panel, let's activate a keyframe for the Y position, and
02:26then I'm going to hold the Shift key and let's drag these up.
02:28Hit the Spacebar, and now I have an animation that's applied to all of the navigation elements.
02:35Let's come down to the timeline.
02:36Let's hold the Shift key, and select the transition for each one of the different Y properties.
02:41Let's come over to the Easing.
02:43Let's choose Ease Out, and then Bounce.
02:45Now, if I preview this, I can see each one is bouncing into place.
02:51Let's grab the playhead, bring it back to the 0 marker.
02:53I also want to set the opacity.
02:56So let's drag the opacity down to 0.
02:58I'll hit the Spacebar to preview, and they will animate on to the stage and then bounce into place.
03:03Lastly, I just want to adjust the timing of these.
03:06So I'll grab the second one, which is services, the third one, which is portfolio, and then
03:12the fourth one, which is contact us.
03:16Bring the playhead back to 0, hit the spacebar, and now each navigation item will play one quarter of a second
03:21after its previous one and then bounce into place.
03:23Now, to preview this, let's come up to the File menu, let's choose Preview In Browser,
03:29and we'll see the animation happens right in place.
03:32Now again, this is a responsive design, and Edge Animate is only animating the individual elements.
03:37The CSS 3 Media Queries are still controlling the placement and position of the overall
03:41elements within the composition of the website.
03:44So I'm going to come over here to the browser.
03:45Let's bring this down to the medium size, let's hit Reload.
03:49The navigation will move into their new positions based on that media query.
03:54And then lastly, let's bring this down to the mobile size. We'll scroll down.
03:57I'll hit Reload.
03:59And we'll see each of the navigation items will now move in their mobile state to their
04:02corresponding spot based on their CSS 3 Media Queries for small screen sizes.
04:06And so here, we can see the power of Edge Animate being applied to existing HTML content.
04:11
Collapse this transcript
16. Going Beyond the Edge Animate Interface
Adding HTML into text boxes
00:00Now, while we can't use HTML inside of text blocks using Edge Animate's interface, we
00:05can put HTML into text elements using the code window.
00:08So in this composition, I have a simple animation of the apple dropping and then the text on
00:12the chalkboard fading in.
00:14I'm also using one of the Google fonts inside of this composition.
00:17And what I want to do here is set the word apple to show up in red.
00:20Now, we can't do that in the Edge interface, but I can inject HTML and add specific styling
00:25onto individual elements.
00:27So to do this, let's come over to the stage, let's select this symbol.
00:31Let's double-click to go into Isolation Mode.
00:33And here, I have the textbox selected.
00:35In the upper left-hand corner, in the Properties Panel, I can see the name of this item is called Text.
00:40So what we are going to do is come down to the timeline.
00:44Let's drag the playhead back to the 00 marker.
00:47Let's come into the Actions area, and insert a timeline trigger.
00:51Inside of the code window, let's come down to the snippets on the right-hand side, choose Set Element Text.
00:56By default, it's going to pick the word text, which again is the name of the instance of
00:59the text block on the stage.
01:01Let's come down inside of the HTML area.
01:03Let's select the NewText, keep the two quotes for the string literal.
01:07And we are going to type An apple a day, then our ellipses.
01:14And then inside of here, I want to add a span tag around the word Apple.
01:18So we'll add a beginning span, then an ending span.
01:24Then inside of the span, let's come in here, let's hit a space, let's add an attribute
01:27in here, style=, and then we need to put two quotes for the value of the style.
01:35Now, the quotes are actually going to end the string literal here.
01:38So, we need to escape these.
01:40So, we are going to put a forward slash before each one of the quotes.
01:44This way, the quotes will get written into the HTML and will not be considered part of
01:48this particular JavaScript.
01:50Once we have that in place, let's set color:#e6423a, then a semicolon.
02:00That's going to give us a red color.
02:02Now with that in place, let's close the code window, let's preview in browser.
02:07Now, when the animation gets to that point, we'll see that the text fades up and before
02:14the text fades up, we have the JavaScript that gets executed inside that symbol, which
02:18changes the text in the text block to use our HTML instead.
02:21Now, using this technique, you can inject any HTML.
02:24You can bring in images, you can put in hyperlinks.
02:27Anything that's supported in the browser, you can inject into these elements and gain
02:30complete control of the HTML that's put into individual elements.
02:33
Collapse this transcript
Adding video to your composition
00:00Another media type you might want to work with inside of your Edge compositions is video.
00:04However, in the interface, we can't actually work with video and audio by importing them into our project.
00:10However, we can inject HTML for those media types and use the code window to inject that
00:14HTML into our elements.
00:16Now, inside of the Edge interface over here in the Library Panel, I can see the Assets,
00:21the Images directory, and our background graphic.
00:23Now, to inject our video into our project, I first want to create a container.
00:27So let's come over here to the Rectangle Tool up in the Tools Panel.
00:31I'm going to click and drag.
00:32Once I have a box in the stage, I'm going to come over to the height and width settings
00:37inside of the Properties Panel.
00:39I'm going to set this to 400 pixels wide by 250 pixels tall.
00:44That's the size of our MPEG-4 video.
00:46I'll position this in place.
00:48And with this selected on the stage, let's come down to the timeline panel.
00:52Let's activate the Toggle Pin.
00:54We'll drag this out to 1 second.
00:57Let's come up to the Properties Panel.
00:59Let's move the opacity down.
01:02Hit the Spacebar to preview this.
01:04Then, I'll grab this and drag this out to the 1 second mark.
01:10Now, I'll bring the timeline panel back to the beginning.
01:13I'll turn off the Toggle Pin.
01:15And what I want to do here is insert a timeline trigger.
01:17So, let's come down to the Actions Panel, let's click Insert Trigger.
01:21Now, the first thing I need to do here is target that element, and I can see that it's
01:25still selected on the stage, and I can see the name of the instance is called Rectangle.
01:28So, I'm going to come down here into the code snippets.
01:31We are going to click on Get Element, and the element we are going to get is going to be rectangle.
01:39So now, what this does is it creates a variable named element.
01:43And the value of that is symbol $("Rectangle").
01:46So, let's come in here and copy the name element, let's hit a few returns, let's paste that.
01:51And now we're going to use jQuery to inject the HTML that we want to have inside of that element.
01:56So, after element, we are going to type .HTML, beginning and ending parentheses, semicolon.
02:02Inside of the HTML element, two tick marks for a string literal.
02:06I'm going to type a video tag, and then end the video tag.
02:12Next, I'm going to get my cursor inside of the beginning video tag.
02:17Let's hit a space and add some attributes in here.
02:20So, we need to add the HTML5 video attributes, and we're going to start with width, equals,
02:29two quotes, 400, then a space.
02:32We are going to set height equal to two quotes, 250.
02:38And then one thing that Edge Animate doesn't support right now is line wrapping.
02:42So instead of having this line get really long, we're going to use a JavaScript trick.
02:46I'm going to hit a return here.
02:48And once we have some malformed JavaScript, Edge is going to highlight that in orange.
02:52I'm going to bring my cursor back on the line before it.
02:54I am going to hit a space, and then a backslash.
02:58What this backslash does is it escapes the return character so that we can create a multi-line
03:03JavaScript but only inject one line of code.
03:06And we're doing that so we can see more of our script inside of this dialog box.
03:10So now, we'll hit another Return, another forward slash.
03:13I'll get my cursor in front of the forward slash and hit a space.
03:16Next, we'll set the source for the video; src, equals, two quotes, inside of the quotes,
03:23we'll type video/ so that we can go into the video directory that we know is part of our project.
03:29Then, we'll type winecountry.mp4.
03:35After the quotes for that attribute, let's hit a space.
03:38We'll type poster, equals, two quotes.
03:42Let's come back here and copy "video/winecountry.jpg".
03:50Let's get our cursor at the end of the line.
03:51Let's hit a Return, another backslash, add a space before that.
03:57Let's add type, equals, two quotes, then video/mp4.
04:05And now the last attribute we'll add is to turn on the controls.
04:08So after the type attribute, hit a space.
04:12So we'll set controls, equal to, two quotes, then controls again inside the quotes.
04:19Now with all of our markup in place, let's close our code window and let's preview this in a browser.
04:27[Video]
04:35So, as you can see, by using HTML injection techniques built into Edge Animate
04:40through jQuery, you can inject any HTML into any elements.
04:44And even if something is not available inside of Edge's interface, you can still inject
04:47that code and use it in your compositions.
04:49
Collapse this transcript
17. Using Edge Animate Projects in Other Authoring Applications
Using OAM files in Adobe InDesign CS6
00:00In this lesson we are going to take a look at how we can use an OAM file published from
00:04Edge Animate inside of InDesign to use in the Adobe DPS.
00:07Now inside of InDesign we can place an OAM file just as we would place any other file format.
00:12So from the File menu inside of InDesign let's come down and choose Place.
00:16Let's go into our Exercise Files, let's go down to Chapter_17.
00:21Let's go into the _published_from_Edge_ Animate folder, go into the animate package folder,
00:27select myProject.oam, and then click Open.
00:32Once the file loads in InDesign, I'll get the loaded text gun, and then I can simply click
00:35and place the OAM file on my page.
00:38Notice that InDesign will show us the poster frame that was part of our Publishing settings.
00:42Now with the object selected, let's come up to the Window menu, let's come down to Folio Overlays.
00:48And what I can do here is, with this object selected, I can pick the specific properties
00:52that this Edge Animate file will have when we interact with it on our tablet.
00:57So with the object selected, I'll come down and choose Auto Play.
01:00I'm going to increase the Delay to about half a second, so this means once we swipe to this
01:05particular page in our digital magazine, after half a second the Edge Animate file will play.
01:11Now at this point you can save your InDesign file.
01:14Come up to the Window menu, let's come down to Folio Builder, and inside the Folio Builder,
01:21you can activate any of your folios.
01:23You can add this particular file into your folio as an article, then push the folio up
01:28to the Digital Publishing Suite website, and then pull it down and test it on your iPad.
01:33Now I'm here in the iPad.
01:34I'm in the Adobe Content Viewer app.
01:36I can see the Edge Demo in the upper left-hand corner.
01:39I'm going to tap on View, that's going to load the cover, and now when I swipe to the
01:43next article, we'll see that the Edge animation will wait one half of a second and then play,
01:48matching exactly the settings that we set up inside of InDesign in the Folio Overlay.
01:53So placing the OAM file inside of InDesign, and then setting specific properties in the
01:58Folio Overlay, gave us the ability to incorporate an Edge animation project inside of our digital magazine.
Collapse this transcript
Using OAM files in Adobe Dreamweaver CS6
00:00In this lesson we'll be taking an OAM file that we've published inside of Edge Animate
00:04and using it inside of Dreamweaver for use in our website.
00:07Now at the time of this recording, Dreamweaver CS6 cannot import Edge Animate unless you're
00:12using Dreamweaver through the Adobe Creative Cloud.
00:14This was one of the recent updates for Creative Cloud subscribers.
00:17Now up in the Insert menu we have a folder here called Media with a whole bunch of different media types.
00:22The first one here listed is Insert an Edge Animate Composition.
00:26Let's click on that.
00:27We're going to get a dialog box with our operating system showing us where we can go locate the OAM file.
00:33Let's come down to Exercise Files, let's go into Chapter_17.
00:37In that first folder here, _published_from_Edge_ Animate, let's come into the animate package folder,
00:43let's select myProject.oam and click Open.
00:47Now with our animate composition placed inside of Dreamweaver, we can come up here and click
00:50on Live view, and then Dreamweaver will use its built-in web browser to show us the Edge
00:55Animate Composition.
00:56Now one thing to note when we talked about publishing OAM files they're basically a zip file.
01:01Now when we placed those into other applications like InDesign or Muse, those applications
01:06will unpackage that zip file.
01:08In the case of the web, we need to be able to see all of these files.
01:12So one thing I want to bring your attention to is if I move the document out of the way,
01:16and if we go back to the original folder that we opened the HTML file from, you'll notice
01:20that Dreamweaver has created a new folder in here called myProject.
01:23And if we open this us up, we can see a config file and an Assets folder. Inside of the Assets
01:29folder are all of the files that the Edge Animate composition needs to run. All of the
01:34images, all of the JavaScript, and the HTML.
01:36So Dreamweaver allows us to share OAM files with other Dreamweaver users and then it will
01:42take care of extracting all of the content so that the files can play on our website.
01:46
Collapse this transcript
Using OAM files in Adobe Muse
00:00In this lesson, we'll take an OAM file that we've published from Edge Animate and use
00:04it inside of Adobe Muse for use on our website.
00:07Now this is just a blank website inside of Muse.
00:09I'm on the Planning phase here, so let's come in double-click on the Home page, that's going
00:14to bring us into the Design View for the homepage of our website.
00:17Now all I need to do here is simply come up to the File menu, choose Place.
00:21That's going to bring up the Import dialog box.
00:23From the Exercise Files, let's go into Chapter_17, then into the _published_from_Edge_Animate>animate
00:30package, and let's select the myProject.oam file, then click Open.
00:35That's going to give us a loaded text cursor.
00:37I'm going to come over here on the page, simply click to place this Edge Animate composition in our page.
00:42Once Muse loads our composition we'll get a loaded text cursor.
00:45I'll move over here to the left-hand side of the page, click to place it.
00:49And now to preview this I'm going to come up to the Preview Panel inside of Muse.
00:53Click on Preview, and then Muse's built-in web browser will show us the Edge Animate
00:56composition playing right inside of Adobe Muse.
00:59
Collapse this transcript
Using widgets in OS X Dashboard
00:00In this lesson, we're going to take a widget that we got from Edge Animate and put it into
00:04the Macintosh OS X's Dashboard feature.
00:06So if you have a Macintosh and you want to follow along, go into the Exercise Files,
00:10open up Chapter_17.
00:12In here, I have a folder called _published_from_Edge_ Animate, inside of here we have folders that were created
00:17by Edge Animate's Publish feature.
00:20Let's open up iBooks, and let's take the file for_dashboard.wdgt and drag a copy to the desktop.
00:27Now the reason we're making a copy of this is, when we run this from the operating system
00:31the Macintosh will ask us if we want to install this, and if we choose Yes, it will be copied
00:36to the Widgets folder inside of the Library folder, inside of the root hard drive.
00:40And I want to be able to keep a copy of the original in my Exercise Files.
00:43So from the copy on the desktop, just double-click it.
00:46You'll get this dialog box, where that Macintosh OS will ask if you want to install this in the Dashboard.
00:51You can come over here and click Install.
00:54Now one thing to keep in mind with the Dashboard widgets is that the animation will only play once.
00:59So what I've done here is I set up a background looping animation, so that that will continuously
01:03play inside of the symbol, but the main stage, where it says, An apple a day...
01:07will only play one time.
01:08If I like the way the widget looks I can come down here and click Keep.
01:12Then I can exit Dashboard, and any time I go back into Dashboard, my Edge Animate widget
01:17will be in there along with the other widgets from the operating system.
01:20And remember, we can inject HTML into Edge Animate projects, and we can also use jQuery
01:26to dynamically load content from the Internet.
01:28So you could create a dynamically driven widget using Edge Animate for the animation and have
01:33all the live data being driven through jQuery.
01:35
Collapse this transcript
Using widgets in iBooks Author
00:00In this lesson, we are going to take a widget that we got from Edge Animate, place it into
00:04iBooks Author, and test it on an iPad.
00:06Now inside of iBooks Author I have a blank page.
00:08I'm going to size my window down here a little bit.
00:12And what I'm going to do is come over here to the Exercise Files, I'm going to grab the
00:16myProject.wdgt and just drag and drop it right inside of the blank page inside of iBooks Author.
00:21Once I drop this object we can see the poster frame showing up inside of the widget.
00:25So I'm going to grab this and just resize this a little bit.
00:30As I resize the widgets the poster frame that was generated by Edge will be resized inside of that container.
00:36So I'll move this around.
00:38Once I get this position to where I want I'm going to test this on the iPad.
00:42Now to test this we need to make sure that the iPad is connected to our computer with
00:46the USB cable and we're running the iBooks application on the iPad.
00:49I'm going to resize the window here a little bit so we can see more of the iPad in the background.
00:55And when I come up here and click the Preview button, iBooks Author is going to make a copy
00:59of the iBook, send it over to the iPad.
01:01The iPad will close the book that's open and then reopen it and show us our new page with
01:05our new Edge widget inside.
01:07Now inside of iBooks Author I can come in and pinch the page down, and it will show
01:11up inside of its chapter.
01:12If I tap on the page, it will open back up, and then if I tap on the widget it will go
01:17into the Overlay view.
01:18It will invoke the Edge animation and then the animation will play inside of the overlay.
01:23Once the animation is complete I can tap in the upper left-hand corner and this will go
01:26back into its widget state, and then I can pinch the entire page back down to its chapter view.
01:31So by simply clicking iBooks in OS X in the Publish Settings inside of Edge Animate, we
01:35can quickly get a widget with all of the interactive and animated components that we can use right
01:39inside of iBooks Author.
01:40
Collapse this transcript
18. Coming to Edge Animate from Adobe Flash
Relating to a new interface
00:00In this chapter, I want to show you how you can get started with Adobe Edge Animate by
00:04leveraging your knowledge and workflow from Adobe Flash Professional.
00:07Now being familiar with Flash, we have a main stage area, which is this area up here, and
00:12this is the default workspace from Flash.
00:14Down below we have the Timeline, where we can see all of the different animated elements.
00:19On the right-hand side is the Properties Panel, the properties are contextual to any elements
00:23that we have selected, and we also have a Library Panel.
00:27Inside the Library Panel are all of the assets that Flash is either linking to or keeps embedded
00:31inside of the project file, and on the right- hand side we have all of the different tools.
00:36Now looking at the same project inside of Edge Animate, we can see we have a main stage area up here.
00:41Down below we have the Timeline.
00:43We can also scrub the Timeline similar to what we can do in Flash and look at the animation.
00:49On the right-hand side we have the Library Panel.
00:51The Library panel is broken into three sections.
00:53We have Assets, Symbols, and Fonts.
00:56As we create symbols, they will show up in a separate area here.
00:59Now working with fonts in Edge Animate is a little different than working with fonts in Flash.
01:02In Flash you can use fonts from your system and package them up and embed them similar
01:07to what you can do in PDF.
01:08However, Edge Animate uses web fonts, which load from online services.
01:12You can learn more about putting web fonts into your compositions in the Web Fonts chapter of this course.
01:17And on the left-hand side we have the Properties Panel.
01:20The Properties Panel is contextual, just like Flash, so as we select different items on
01:24the stage, the properties that we can change and manipulate will be updated based on your
01:28selection. And then finally, our Toolbar at the top of the screen.
01:32So now that we're familiar with the interface, next let's talk about creating animations.
01:35
Collapse this transcript
Creating animations
00:00Now I want to take a look at some of the similarities between creating animations inside of Flash
00:04Professional and Edge Animate.
00:07Now to create animations inside of Flash Professional, the first thing we need to do is convert artwork into a symbol.
00:12So with the apple selected I can see in the Properties Panel that this is just a Bitmap.
00:17Before I can animate this, I'll need to right-click on this and Convert this to a Symbol.
00:24I'll name it apple then click OK.
00:27Once this is a symbol I can right-click on it, come up and chose Create Motion Tween,
00:32and what that's going to do is activate this layer in the timeline to pay attention to
00:36anything that I change.
00:38So I'll first come up here and grab the Timeline playhead, drag this out to the end of the animation.
00:44Come up to the Insert menu, come down to Timeline, and choose Keyframe.
00:48Then I'll drag the timeline back, grab the apple, move it to the top of the stage, and
00:56now I've created an animation of that apple.
00:59So again, the apple does have to be inside of the symbol before we can create the animation.
01:03Now with the apple selected I can also come over here to the Motion Presets and come in
01:07here and assign a Motion preset to the object as well.
01:11Now to animate the apple inside of Edge Animate, I'm going to come over here to the stage,
01:14click on the apple.
01:16Now I don't need to wrap this into a symbol before I can animate this.
01:19All elements on the stage in Edge Animate are HTML elements, and we can animate any
01:23of those HTML elements.
01:26So with the apple selected, the first thing we're going to do is come down to the Timeline Panel.
01:30Now inside of Flash, when you create a tween layer, what Flash does is it pays attention
01:34to every property that you change along the timeline.
01:37Edge Animate will do something similar, but we need to turn on some of these controls.
01:41The first one here is the Auto-Keyframe, second is the Auto-Transition, and lastly we have
01:47a brand-new animation feature inside of Edge Animate called the Toggle Pin.
01:50So we are going to turn that on as well.
01:51I'm going to scroll up in the Timeline window here, so we can see the red_apple is selected.
01:57Before we begin animating we need to pick the properties we are going to animate.
02:00So let's come over to the Properties Panel.
02:02Let's activate the Y axis.
02:04And now with that selected let's come up to the Timeline playhead, and let's grab the
02:09Toggle Pin and move this out to one second.
02:12What this basically does is, is lets us see what the animation will resolve to, which
02:16is the screen we're looking at here, while changes we make will happen at the playhead.
02:21So to see this happen we'll come up here and select the apple, I'll just move this vertically
02:25so that it's off the stage.
02:27Edge Animate will automatically create this transition in the two keyframes because we
02:31turned on the Auto-Keyframe and Auto-Transition.
02:34Now if I hit the Spacebar I can see the animation play.
02:39And one more nice effect that we have inside of Edge Animate, if I come down here and select
02:43this transition for top, or the Y axis, come up to the Easing settings, come down and choose
02:49Ease Out, let's choose Bounce, hit Return.
02:53Hit the Spacebar, I can now add a Bounce Effect to my animation.
02:58So now with my animation complete, if I do want to convert this into an animated symbol,
03:02I can right-click on the apple, choose Convert to Symbol, name this apple. I'll click OK.
03:10And now over in the Library Panel I'll see I have my apple symbol showing up in the Symbols
03:14area, and on the stage I'll see a representation of that symbol, and if I jog the timeline back
03:19and forth, I can see the animation effect on the stage even though all of those components
03:22are now wrapped in a symbol.
03:23
Collapse this transcript
Assigning actions
00:00Now, working with Actions inside of Flash Professional is very similar to the way we
00:03work with Actions inside of Edge Animate.
00:06Two common ways that we use Actions are on the timeline and targeting objects.
00:10So on the timeline, inside of Flash, typically we create an empty keyframe, we come up to
00:15the Actions window, and we add an action.
00:19So inside of the Actions Panel, I can see that there is a Stop action that's been assigned to the timeline.
00:24And similarly, if we want to target specific objects, I can come over here to the stage,
00:28select the apple, come over to Code Snippets, open up my Actions group, and click Go to Webpage.
00:35Then, adding the snippet to the Actions Panel will target the red apple.
00:39So the red apple on the stage, with its instance property named red_apple, we'll see the Flash
00:44writes all the necessary ActionScript to enable that red apple to now be clickable to a webpage.
00:49Now, to work with Actions in a similar fashion inside of Edge Animate, on the timeline, inside
00:54of Edge Animate, we have this little button here, which is insert a trigger.
00:57This is how we assign actions to the timeline.
01:00So with my playhead here at 1 second, I'll come over here and click on this button.
01:05This will automatically bring up the code window inside of Edge Animate, and I can come
01:09in here to the Code Snippets and simply click Stop, close my code window, and now I have
01:14the Stop command placed on the timeline.
01:17If I want to target or add actions to objects I can select an object on the stage such as this red apple.
01:23We're going to right-click, come down and choose Open Actions for "apple".
01:29And since I'm targeting an element on the stage, I need to click the event that I want
01:32to attach the action to.
01:33So, let's come over here and choose click.
01:35So, on click, I want to come over here and Open URL.
01:39So, by selecting the snippets, Edge Animate will create all of the necessary JavaScript
01:44to enable that Apple to be clickable by the end-user to go to the website that we type
01:47into this code window.
01:48
Collapse this transcript
Differences in publishing
00:00Once you've completed your project inside of Flash Professional, next you'll go into
00:04the File menu and come down to Publish Settings, and choose all of the formats you would like
00:08Flash to publish out to.
00:10We have a very similar workflow inside of Edge Animate as well.
00:12Now, back inside of Edge Animate, we also have a Publish Settings under the File Menu.
00:17Once this is selected, we can come in here and check all of the different formats we
00:21would like Edge Animate to publish our project out to as well.
00:24Now, the most common file format we publish out of Flash is to a SWF file, which stands
00:29for Shockwave Flash.
00:30This file, however, needs to be interpreted by the Adobe Flash Player, which is a plugin
00:34to the web browser.
00:36Edge Animate, on the other hand, uses HTML, CSS, and JavaScript to write all of its animations
00:41and interactive user experiences, and then relies on the browser to interpret all of
00:45those files to recreate our user experience.
00:47Now, there is another publishing option we have from Edge Animate, and that is to Publish
00:51to an Animation Deployment Package, or an OAM file.
00:55This is similar to SWF in that it contains all of the assets and scripts and HTML in one single file.
01:01However, right now we can only use those files in other Adobe applications.
01:04So we can bring those into InDesign, Dreamweaver, or Adobe Muse, and use those in our interactive projects.
01:10And while this file format gives us a really efficient way to work with other authoring
01:13applications, it's not a format that can be loaded directly into the browser.
01:16
Collapse this transcript
19. Coming to Edge Animate from Adobe After Effects
Relating to a new interface
00:00In this chapter, I want to show you how you can get started with Adobe Edge Animate by
00:04leveraging your knowledge and workflow from Adobe After Effects.
00:07Now, inside of After Effects, we have a main stage where we compose all of our animations and compositions.
00:12Underneath, we have a timeline.
00:14The timeline shows us every item that we have on the stage and all of the different properties
00:19that we can create animations from.
00:21In the upper left-hand corner, we have our Project Panel, and this contains a list of
00:25all of the assets that are linked in to the Adobe After Effects project.
00:29And on the right side of the timeline, we have a playhead which we can click and drag
00:33and scrub through our animations.
00:37Inside of Edge Animate, we have a stage very similar to what we have inside of After Effects.
00:41And we also compose our animations and compositions on the stage.
00:44Underneath, we have a timeline.
00:46The left-hand side shows us all of the different layers and objects on the stage that we can animate.
00:50And on the right-hand side of the timeline, we have a playhead that we can scrub back and forth
00:54and see the animations as well.
00:55Now, on the right-hand side of the stage, we have a Library Panel.
00:58This breaks our assets into three categories: assets, symbols, and fonts.
01:03Inside of the assets, we can see a folder of images here.
01:06This relates to a folder of images that exist on our hard-drive in the same folder that
01:09contains our Edge Animate project.
01:11The Symbol section will show us areas where we create symbols out of objects on the stage.
01:16This is very similar to creating pre-compositions in After Effects.
01:19And then we have a Font section here where we can load web fonts into our composition.
01:23Now, in After Effects, we don't have to worry about fonts because as long as you have it
01:26on your system, the final result from After Effects is either going to be an image sequence or a video,
01:32and in both cases, fonts are rasterized into the project.
01:35With Edge Animate projects, the web browser plays our project, and we need to have access
01:39to those web fonts.
01:40Now, to learn more about adding web fonts to your composition, you can watch the chapter
01:44on web fonts in this course.
01:46And now that we're familiar with the interface, next, we'll talk about creating animations.
01:49
Collapse this transcript
Creating animations
00:00Now, I want to show some of the similarities between animating items inside of After Effects
00:04and animating items inside of Edge Animate.
00:06Now, inside of After Effects, in order to animate an item, we select it on the stage.
00:11Down in the Timeline Panel we can see the item we have selected.
00:14We can toggle open the properties that we can animate.
00:17I am going to come down here and click on the stopwatch next to Position.
00:21That's going to add a keyframe on the timeline.
00:23I am going to grab the playhead, drag this to the 1 second mark, come back over here,
00:29activate a second keyframe.
00:30Then I'm going to drag the playhead back to the 0 mark, come up to the stage, grab
00:34the apple, and just move it vertically off the stage.
00:38By doing that, After Effects will give us an animation between those two keyframes.
00:43Now, in addition to adding keyframes, we can also animate items by attaching scripts to items.
00:50So, to do that, with the apple selected, I will come down and hold the Option key, or
00:54Alt in Windows, click on the stopwatch, and that will activate the script editor for this individual object.
01:00Then I can come over here, and click on a series of snippets that will automatically attach
01:04a script to that individual element, giving me the ability to add additional movements
01:08to that object without using additional keyframes.
01:10I am going to move out of that menu.
01:13I am going to undo that.
01:15Now, another feature you might use a lot in After Effects is pre-composing your animations.
01:19This is basically grouping a series of objects on the stage into one object.
01:23So, to demonstrate this, I want to Toggle+Open the animation that's assigned to that text layer.
01:29Under Transform, we can see that we have keyframes set for Opacity.
01:32Now, up on the stage, I am going to click and drag, and I want to select the chalkboard, the text
01:38layer, and the chain graphics.
01:40Now, with all of these selected, I am going to come up to the Layer Menu, come down and
01:45choose Pre-compose.
01:47Let's give this a name, choose OK.
01:53And now I have grouped all of those elements into a composition.
01:56And we can see the composition showing up here inside of our Project Panel.
01:59Now, a great feature inside of After Effects is I can scrub the timeline and still see
02:04the animation of that pre- composition happening on the main stage.
02:10And to change the layering, I can come over to the Timeline Panel and just drag the chalkboard
02:14to be behind the red apple.
02:16So pretty quickly, I can create animations by activating specific properties, and I can
02:20group elements, even if they are animated, into a composition that I can use on the main stage.
02:25So now inside of Edge Animate, to animate the apple, we are going to do something very
02:28similar to what we did in After Effects.
02:31Let's come over here and select the apple.
02:32Now, in After Effects, by default, when we activate a property, we automatically get
02:36transitions, and keyframes.
02:39Inside of Edge Animate, we need to turn on those options.
02:41So, the first item here is the Auto- Keyframe Generator, second is the Auto-Transition.
02:46These two together will keep track of any changes we make along the timeline with any
02:51properties that we have activated.
02:52Now, with the apple still selected, let's come up to the Properties Panel, let's activate the Y property.
02:59We can now see the keyframe has been added here, and next, we are going to activate a
03:02feature that's unique to Edge Animate.
03:04Next to the Auto-Keyframe and Auto-Transition is this tool here called the Toggle Pin. Let's turn that on.
03:11Once that's activated, above the playhead, we can see this little blue pin here.
03:14I am going to select that pin and drag it out to the one 1 second mark.
03:18This is a very unique feature in that it allows us to work with the stage at the 1
03:22second mark, which is what we see on the screen, but changes we make are going to happen at the 0 marker.
03:28So with the pin selected, I will come up here, grab the apple, and just move this vertically off the stage.
03:33Once I let go, you will see that we get a transition now between the two different keyframes.
03:39I can grab the playhead now, and drag it back and forth and see the animation.
03:43Let's turn off the Toggle Pin.
03:44So, the change we made was at the 0 marker, but out here where the Toggle Pin was set
03:49is where the apple ended up.
03:50So the Toggle Pin gives you a really quick way to compose the animation's ending state,
03:55and then work backwards to create your animation.
03:58Now we can attach a script to this object so we can get some additional motion without
04:01additional keyframes.
04:02So, I am going to come down here and select the transition for Top.
04:06With that selected, let's come up to the button here called Easing.
04:09We will click this, choose Ease Out, and then come down and choose Bounce, and hit Return.
04:16So now I am going to hit the spacebar to preview the animation.
04:19So, now we will get the keyframes for the Top settings, which control this from being
04:24off the stage at the top to being down at the bottom of the stage, but the bouncing
04:28effect is being controlled through that script.
04:30Now, our animation also features the text on the screen that's animating.
04:34So, we are going to do the same thing we did in After Effects.
04:36I want to group this together into an animated symbol.
04:40So I am going to come up to the stage, select the text frame.
04:42I am holding the Shift key.
04:44I am going to select the chalkboard and the two chain graphics.
04:48With all of these selected, we will right-click and come down and choose Convert to Symbol.
04:53We'll name this chalkboard, click OK.
04:57We'll see this symbol show up on the Library Panel over on the right, and then notice that
05:02all of these elements are grouped together on the stage.
05:04I am going to hit Command+[, or Ctrl+[ on Windows, to move this to be behind the apple.
05:10And just like After Effects, if I have a group of objects with an animation, as I drag the
05:15main timeline playhead back and forth, I can see the animation that's happening inside of that symbol.
05:19So, as you can see, the process for animating elements inside of Edge Animate is very similar
05:24to the workflow that we have inside of Adobe After Effects.
05:27
Collapse this transcript
Differences in publishing
00:00And once you've completed your animation project inside of After Effects, you will most likely
00:04want to export your project by adding it to the Render Queue and then rendering out either
00:08an image sequence or a video.
00:11However, in Edge Animate, when you're finished with your project, you will come up to the
00:14File menu and you will come down to Publish Settings.
00:16Now there is a few different formats that you can publish out to from Edge Animate.
00:20However, they all result in the same set of files, which is a series of JavaScript, HTML, and CSS.
00:26The web setting here will actually write all of those files to a folder and have them be
00:30sort of open or in the clear.
00:31The Animate Deployment Package will create a single OAM file that you can use in other
00:37Adobe authoring applications like InDesign, Dreamweaver, and Muse.
00:41And then lastly, the iBooks and OS X format will create a widget folder, which again will
00:46contain all of the assets that the animation needs, but will be contained in one single
00:50widget file that you can use in iBooks author or in the Mac OS X dashboard.
00:55Now the video file that you get from After Effects can be played in a variety of ways.
00:59It can be loaded into the Flash player or loaded directly into an HTML5-enabled browser.
01:04It can also be played on tablets and mobile phones natively, since those devices have native
01:09video playback capabilities.
01:11Edge Animate, on the other hand, creates a series of JavaScript files and an HTML file and images
01:16that are all loaded into the browser starting with the preload JavaScript.
01:20So it's up to the browser to take the animations and recreate all of the animated sequences
01:25based on the Javascript files that are loaded in.
01:28So the main difference here is that all of the things you do in After Effects, including
01:31add fonts, graphics, and animation sequences are flattened or rasterized into one video
01:36stream, whereas in the HTML5- and JavaScript-enabled animations, the browser is reconstructing
01:43those animations for every viewer that looks at your animation file.
01:46
Collapse this transcript
20. Coming to Edge Animate from Adobe Photoshop CS6 Extended
Creating animations
00:00In this chapter, I want to show you how you can get started with Edge Animate by leveraging
00:04your knowledge in workflow from animation skills you have inside of Photoshop CS6.
00:08Now inside of Photoshop CS6 extended, we can see the timeline down here at the bottom.
00:13You can activate the timeline by going to the Window menu, coming down and choosing Timeline.
00:18Now in earlier versions of Photoshop this panel was called the Animation panel.
00:22So with the Timeline panel open, I have a playhead down here, I can click and drag and
00:25see an animation, so I have the text animating on the screen, so next let's animate the apple.
00:31So to create an animation inside of Photoshop CS6, I am going to hold the Command key, or
00:35Ctrl on Windows, click on the apple to select that layer, and I can see it's selected in
00:40the Timeline panel and in the Layers penal over here.
00:44Now with this selected, let's toggle this open and look at the Properties that we can animate.
00:49So down here we have Transform. Now the playhead is at the 0 mark. And Activate Transform, that's
00:55going to put a keyframe on the timeline.
00:57We will drag this out to the one second mark, let's come over here and add a second keyframe.
01:05Now with two keyframes created, let's come back to the 0 time marker.
01:08Let's select the apple and let's simply move this up vertically on the stage.
01:14Once I let go, Photoshop will create an animation between those two keyframes, so now if I click
01:19and drag, I can see the apple dropping. I am going to drag the playhead back to the
01:23one second mark. And another nice feature we have inside of Photoshop CS6, is we can group
01:28objects on the stage into the Smart Object.
01:30So I am going to hold the Command key down with Move tool, I am going to select the Text
01:35layer, I am going to hold Command+Shift, or Ctrl+Shift in windows, I am going to select
01:41the chalkboard, and then each one of these chain graphics.
01:46If I look over here in the Layers panel, I can see all of the layers I have selected,
01:50I am going to going to right-click, while these are all selected, come up and choose
01:53Convert to Smart Object.
01:55That's going to take all of those layers and group them into one single object that I can
01:58move and change on the stage.
02:00Now I still want the chalkboard to be behind the apple, so in the Layers panel, I will
02:03just grab this layer and move it behind the apple.
02:06And now a great feature of this version of Photoshop is that if I come back to the Timeline,
02:11scrub the timeline, I can see the animation inside of that Smart Object still plays when
02:16I grab the playhead and drag it on the main timeline.
02:19So this gives me the ability to group items on the stage even if they're animated and
02:23work with them as a single element.
02:25Now inside of Edge Animate, we are going to create this same animated elements, so let's
02:29first come over here and select the apple on the stage. Now with this selected, the
02:32first thing we are going to do is come down to the timeline, and we have some buttons down
02:35here that will automatically track things like keyframes and transitions.
02:39So let's activate these first two buttons, and a unique tool called the Toggle Pin.
02:44So let's turn that on as well.
02:45So with Auto-Keyframe selected, as we make changes along the timeline, Edge Animate will
02:49add keyframes for us automatically.
02:52Transitions will automatically create animations and the Toggle Pin will allow us to work in
02:57a really unique way, where we can look at the ending state of our animation but work
03:01in the beginning state.
03:04So with the Toggle Pin selected, let's come over here and grab the playhead, let's move
03:08this back to the 0 marker, but the pin above is set to the 1 second mark.
03:13So what this means is we are looking at the final state of our animation on the stage
03:16but we are going to be working with elements at the 00 marker.
03:20Now with our playhead where we want it, let's come over here to the Properties panel and
03:24let's activate the properties we want to change, so let's come over here and choose the Y position.
03:29Once I select that, we will see that the keyframe has been added to the stage, and now what I
03:33am going to do is simply come up here, select the apple, and just move it off the stage.
03:38The fact that we had the Toggle Pin selected means that the Apple will resolve in that
03:42final state when we drag the playhead out.
03:45So there's the animation we just created.
03:48Now since Edge Animate is creating animations through JavaScript, we have some additional
03:51capabilities inside of Edge Animate.
03:53So let's come down here and select the transition for top, and with that selected, let's come
03:57over here and choose the Easing button, lets choose Ease Out, and then Bounce, and hit Return.
04:03This allows us to add scripts on to the individual elements and get additional animation properties
04:08without creating the keyframes.
04:10So now when I preview the animation, we can see that the ending state is still at the
04:13bottom part of the stage, but we get that extra bounce effect in there, which again is being
04:17controlled by scripts and not keyframes.
04:20And now the other thing I want to do is group some of those elements on the stage like we did in Photoshop.
04:24So let's come up to the stage, I am going to select the Text layer, I am going to hold
04:28the Shift key, select the chalkboard, and each one of the chain graphics, I can see those
04:33items selected in the timeline.
04:36With all of these selected, I am going to right click and come down and choose Convert to Symbol.
04:41This is going to group all of these elements together in much the same way creating a Smart
04:45Object did inside of Photoshop.
04:46I am going to name chalkboard, I am going to click OK, we are going to see this symbol
04:51show up in the Library panel on the right hand side, and again very similar to Photoshop,
04:56I can grab the playhead now, drag it back and forth, and I can see the animations that's
05:00inside of that animated symbol as I drag the playhead on the main stage. And then lastly,
05:05to change the ordering, I am going to hold the Command key or Ctrl on Windows and the
05:08left bracket and move that symbol to be behind the apple.
05:12So as you can see, by activating keyframes for elements we want to animate, and grouping
05:16items together inside of the Smart Objects, we have a very similar workflow between Edge
05:20Animate and Photoshop CS6 extended.
05:22
Collapse this transcript
Differences in publishing
00:00Now once you have completed your animation inside of Photoshop, you will go to the File
00:04menu, come down and choose Export, and then choose Render Video.
00:08Now your options inside of here will consist of being able to create an image sequence or a video.
00:13In both cases all of the assets from your animation will be rasterized. This means that
00:18choosing fonts and certain animation styles will be rasterized into one data stream inside of the video file.
00:24Now inside of Edge Animate, when you are finished with your project, you will come up to the
00:27File menu, come down to Publish Settings, and in here you can choose the different formats
00:32you want to publish out to.
00:33So we have Web, we have an Animate Deployment Package, and iBooks OS X.
00:38Now in all of these cases, Edge is going to write out JavaScript and HTML files and package
00:43up all of the assets.
00:45For the Web setting, all of these files are going to be in the clear or open inside of a folder.
00:50For the Animate Deployment Package, or an OAM, or the iBooks widget, we are basically
00:54going to get one file that's going to have the same contents inside.
00:58So what this means in terms of playback is that your video file can be loaded into Flash
01:02player and played inside of browsers, it can be loaded directly into an HTML5-enabled browser,
01:08or it can be played directly to mobile devices, since they all have the ability to play video natively.
01:13Edge Animate, on the other hand, is going to create a series of HTML and JavaScript
01:16files that can be loaded directly into the browser.
01:19The main difference here is that all of the things you do inside of Photoshop using fonts,
01:24bringing in graphics, creating animations, are going to be flattened into one datastream
01:28inside that video file.
01:30So the end user doesn't need specific fonts or graphics in order to see your animation.
01:34However for JavaScript- and CSS-based animations, it's up to the browser to load the assets,
01:39load web fonts from a font service, and animate all of the individual elements for each person
01:44that visits your page with an animation on it.
01:45
Collapse this transcript
21. Coming to Edge Animate from Adobe Photoshop CS5 Extended
Creating animations
00:00In this chapter, I want to show you how you can get started with Adobe Edge Animate by
00:04leveraging your animation skills inside of Photoshop CS5.
00:07So here inside of Photoshop CS5, I have the Animation panel showing at the bottom.
00:11You can access the Animation panel by going up to the Window menu and choosing Animation.
00:16When you upgrade to Photoshop CS6, this panel has been renamed to be the Timeline panel.
00:21Now to create an animation inside of Photoshop CS5, with my Move Tool selected, I'll hold
00:27the Command key, or Ctrl on Windows. I am going to click on this apple, that's going to select
00:32the red apple in the Animation panel, and it's also going to select it in the Layers panel.
00:37Now with this selected, next I am going to toggle open the Properties for the red apple
00:41and I am going to click on the stopwatch here for position.
00:44That's going to put a keyframe on the timeline at exactly where the playhead is.
00:48Now I am going to grab the playhead, let's drag this back to the zero marker.
00:52Now by activating Position, Photoshop is now going to create keyframes for any position
00:56changes I make on this object.
00:58So let's come up to the Stage, let's grab the apple and just move it vertically off the canvas.
01:03Now, when I let go, Photoshop is going to create an animation of those two different states.
01:10Now another nice feature we have inside of Photoshop CS5 is we can group elements on the Stage.
01:15So what I want to do is group the animation of the text.
01:18So let's come back to the timeline, we'll toggle the text open and see that we have
01:21the Opacity setting turned on for that.
01:23I'll drag that playhead out to the one second mark.
01:26Now with my Move Tool selected, I'll hold the Command key, or Ctrl on Windows, click
01:30once to select the Type layer, I am going to add the Shift key, click again to select
01:36the chalkboard, and then each of the chain graphics.
01:40Now as I select these items, we can see them highlighted in Animation panel, and we can
01:43also see them highlighted in the Layers panel.
01:46With all of these selected in the Layers panel, I am going to right-click, I am going
01:50to choose Convert to Smart Object.
01:52Now I do want the chalkboard behind the apple, so I am going to grab this Smart Object and
01:56drag it behind the apple, and by converting these to a Smart Object, I have all of these
02:00items now grouped together into one element.
02:03Now the other nice feature here is that if I come down here and jog the timeline, I can
02:07see all of the animations happening inside of that Smart Object even though I'm jogging
02:11the timeline on the main stage.
02:14Now inside of Edge Animate I want to create some similar animations.
02:17So the first thing I am going to do is come over here and select the apple on the stage.
02:20Once I select this you can see all of properties light up on the Properties panel.
02:24I am going to first click down here on the timeline, drag the playhead back to the zero marker.
02:31Once we are at the zero marker, let's come over here to the Properties panel, and let's
02:34activate the Y axis.
02:36As soon as I do that, you will see that we now have a top or X-axis property keyframe
02:41assigned to the red_apple layer.
02:42Now the next thing that we'll need to do is activate the Auto-Keyframe and Auto- Transition.
02:47Photoshop does this by default when we turned on that stopwatch, but Edge Animate has the
02:51option of either creating different states along the timeline or creating animations.
02:56And there is a unique feature here to Edge Animate called the Toggle Pin.
02:59What this allows us to do is create an animation and see the ending state while we are working
03:04with the beginning state.
03:06Now to use this, with the Toggle Pin selected, you will see above the playhead, I have this
03:09little pin, let's click and drag this out to the one second mark.
03:13So with this pin out here, we are actually going to end up with the animation in the
03:17state that we are seeing on the Stage, even though changes I make right now are going
03:20to affect the 0, 0 mark.
03:23So to see this happen, let's come up here, let's grab the apple, I'll just move it vertically on the stage.
03:29As soon as I let go, you'll see that we get a transition and two different keyframes.
03:33So now if I grab the playhead and drag this back and forth, we can see the animation has
03:37been created, and the last state of the animation is the very first state that we had selected
03:42when we started to create the animation.
03:44Now with the animation in place, let's turn off the Toggle Pin.
03:47Let's come down here and let's select the transition for top.
03:50Now since Edge Animate creates animations with JavaScript, we can add special effects
03:54to our animations without adding additional keyframes.
03:57So with this transition selected, let's come up here and click on the easing button, let's
04:02come down and choose Ease Out, and then come down and choose Bounce, and then hit Return.
04:07So, now when I press the Spacebar to preview my animation, notice that in addition to moving
04:11down to the bottom of the stage, we also have the bounce effect that's happening.
04:15Now that's being done through that JavaScript that's being assigned in through that easing
04:18button, and it adds additional movements onto the animation without us having to add those keyframes.
04:24Now I want to group some items together in a similar fashion to what we did inside of Photoshop.
04:28So let's come up to the Stage, let's click and select the text block, I am going to hold
04:33the Shift key, select the chalkboard, and then each of the chain graphics. Now with
04:38all of these items selected, let's right-click, let's come down and choose Convert to Symbol.
04:44I'll name it chalkboard, click OK, and now in the Library panel, under the Symbol section,
04:49I can see the new chalkboard symbol we just created.
04:52To change the stacking order, I am going to hold the Command key and hit the left bracket,
04:55 or Ctrl in Windows, and just change the stacking order so that the symbol is now behind
05:00the red apple. And similar to Photoshop, if I come down to the timeline and jog the playhead
05:05back and forth, I can see the animation inside this symbol as I drag the playhead on the main Stage.
05:12So by activating properties that I want to animate and grouping items together inside
05:15of the symbols, I can achieve the same animation effects inside of Edge Animate that I'm used
05:20to inside of Photoshop CS5 Extended.
05:22
Collapse this transcript
Differences in publishing
00:00Now when you have completed your animation in Photoshop, you are going to come up to
00:03the File menu, come down to Export, and choose Render Video.
00:08Most likely, you're going to render your animation out as a video file so that you can use it
00:12in other applications, or directly on a website.
00:15When you have completed your animation inside of Edge Animate, you are going to come up
00:18to the File menu and choose Publish Settings.
00:22Inside this dialog box, you will have the option of creating three different types of
00:25formats: the Web format, the Animate Deployment Package, or the iBooks / OS X format.
00:30In all of these cases, Edge Animate is going to create a series of JavaScript files and
00:34an HTML file in order to replicate your user experience in animation.
00:39The only real difference between these is that under the Web setting all these files
00:43are going to be created inside of a folder so that you can see them.
00:45In the Animate Deployment package, all of the files will be grouped into a single OAM
00:51file and for iBooks / OS X, you're going to get a widget file, which is going to contain
00:55all of those files inside of that widget.
00:58So what this means in terms of playback is that your video file can be loaded into Flash
01:02player and played inside of browsers, it can be loaded directly into an HTML5-enabled browser,
01:07or it can be played directly on mobile devices, since they all have the ability to play video natively.
01:13Edge Animate, on the other hand, is going to create a series of HTML and JavaScript files
01:17that can be loaded directly into the browser.
01:19The main difference here is that all of the things you do inside of Photoshop--using fonts,
01:23bringing in graphics, creating animations-- are going to be flattened into one data stream
01:28inside that video file, so the end user doesn't need specific fonts or graphics in order to
01:32see your animation.
01:33However, for JavaScript- and CSS-based animations, it's up to the browser to load the assets,
01:39load web fonts from a font service, and animate all of the individual elements for each person
01:44that visits your page with an animation on it.
Collapse this transcript
22. Coming to Edge Animate from Sencha Animator 1.3
Relating to a new interface
00:00In this chapter, we are going to take a look at how you can get started with Adobe Edge
00:03Animate by using the animation techniques you are familiar with inside of Sencha Animator.
00:08Now in Sencha Animator, we have a main stage in the middle of the screen, we have our timeline
00:12at the top of the screen, and we can see individual keyframes for all of the items on the Stage.
00:17On the right-hand side, we have our Properties panel, a Library panel, and then a Project panel.
00:22Inside of the Library panel, we can see all of the assets that we have available to our
00:26Sencha Animator project.
00:29Now on the left-hand side of the screen, we have our Tool panel, and down at the bottom
00:32we can see these two icons down here showing us different scenes.
00:35In order to help us organize our animations, Sencha Animator uses the notion of scenes
00:40where we can have separate animations across different panels or scenes within one composition.
00:46In the Edge Animate environment, we have the Stage that's near the top of the screen, the
00:50timeline is underneath, again showing keyframes down here along the timeline.
00:55On the right hand side, we have our Library panel showing us access to all of the images.
00:58In addition, we have this notion of symbols inside of Edge Animate, and we can also create
01:03web fonts inside of here.
01:05In the top we see the Elements panel.
01:08This shows us all of the HTML markup that Edge Animate is going to create, or if we open
01:12existing HTML, it will show us the HTML markup inside of that structure to give us ability
01:17to animate those pieces as well.
01:19Now on the left-hand side we have our Properties panel.
01:21Now the Properties panel is contextual to anything that we select.
01:25So if I come over to the Stage and select the red apple, for example, I'll see this
01:28light up with all of the properties that I can change for that particular object. And
01:32then finally at the top of the screen are all of the tools in the Tool panel.
01:36So now that we are familiar with the interface, next we'll talk about creating animations.
01:39
Collapse this transcript
Creating animations
00:00To create an animation inside of Sencha Animator.
00:02First, I'll come over here to the stage select this apple, let's come up to the timeline,
00:08grab the playhead, let's drag this out this to one second, then over in the Properties
00:12panel, we'll come over here and click on the Create Keyframe.
00:15Once the keyframe is created, let's grab the playhead and the timeline, drag it back to
00:19the zero marker, come down to the stage, grab the apple, and I'll just move this up.
00:24Once I let go, Sencha Animator will create the animation, so now if I grab the playhead
00:29and drag this back and forth, I can see the animation of the apple.
00:33Now we can also add some special effects, since Sencha Animator is using scripts to
00:36create the animation, so we can on to the General tab, come down to Easing for example,
00:42and choose Ease-In as the animation style.
00:45Now underneath the stage, we see these thumbnails here that represent scenes.
00:49Sencha Animator has this idea of scenes where you can separate your animations, so that
00:53they can play independent of each other.
00:56Now to animate objects inside of Edge Animator, let's come over here and select the apple on the stage.
01:00Down in the timeline panel, I have these options here. The first one is Auto-Keyframe, second
01:05one is Auto-Transition.
01:07Now by default in Sencha Animator when you create a new keyframe, the transitions are
01:12automatically created when you make changes.
01:14Inside of Edge Animate, these are options that we can turn on or off. And then a unique
01:18feature to Edge Animate is this option right here called the Toggle Pin.
01:22So let's turn on the Toggle Pin, and right above the playhead, we get this little blue
01:26symbol here, let's click and drag this out to the one second mark.
01:29So what this feature will do is allow us to work backwards when creating our animations.
01:33The point of the pin at the one second mark shows us the ending composition of our animation,
01:38but changes we make here will be affecting each of the elements at the point where the
01:42playhead is at on the timeline.
01:44So to demonstrate this, with the apple selected, let's come over to the Properties panel, let's
01:49activate the Y property.
01:51That's going to give us the keyframe down here on the timeline on the red apple layer right here.
01:56The Toggle Pin is still selected, let's come up to the stage, let's grab the apple and
02:01just drag it to the top of the stage.
02:03Now when I let go, we're going to get our two automatic keyframes, we're going to get
02:06our transition, and if we come up here and jog the playhead, we'll see that the position
02:10of the apple will resolve at the point where the toggle pin was placed.
02:15Now with our animation in place, let's turn off the Toggle Pin. Let's come into the timeline,
02:19let's select the transition, and to apply Easing in Edge Animate, let's come up here and click
02:23on the Easing button, let's choose Ease-Out, and then we'll come down and choose Bounce. And hit Return.
02:31Now to preview the animation, I'll hit the Spacebar.
02:34Now similar to the way that we apply Easing in Sencha Animator, we have an Easing button
02:38right on the timeline inside of Edge Animate. And one more feature that I want to cover
02:41inside of Edge Animate is the idea of the symbol.
02:44Now while Sencha Animator uses scenes to separate animations, we can do something very similar
02:49inside of Edge Animate using symbols.
02:51So to demonstrate this, I'm going to grab the timeline, drag this back to the zero marker.
02:57Let's go over to the Library panel, let's open up images, and let's drag a copy of the
03:01green apple on the stage and position it.
03:04Next let's come down to timeline.
03:07Let's select the red apple, let's choose Copy from the Edit menu.
03:12Next I'll select the green apple, come down and choose Paste from the Edit menu, and this
03:18will paste the animation of the red apple onto the green apple.
03:22Now this is something that you can do in Sencha Animator as well, but now what I am going
03:26to do is let's come in here and select the green apple, let's right-click, choose Convert
03:31to Symbol, we'll name this green_apple, we'll click OK and now on the stage we'll see this
03:38symbol here representing the fact that that symbol is animated and playing on the stage.
03:44And then to time this out, on the green apple let's go to Playback, let's choose Stop from
03:51frame one, we'll jog the timeline out until the red apple has completed its animation,
03:57and then we'll come down here and then click Play.
04:01Instead of scenes, we have symbols.
04:03So now we have the animation of the green apple wrapped up in the symbol, and on the
04:07main stage we can control when that particular symbol plays while it's on the same stage
04:11with the other elements in our composition.
Collapse this transcript
Differences in publishing
00:00Once you've completed your animation inside of Sencha Animator, you'll come up to the File
00:04menu, come down and choose Export Project and pick a folder to export your entire project.
00:09You also have the option of going into Other Export and exporting for other formats including
00:15a widget for iBooks.
00:16However, in Edge Animate we're going to use something called the Publish settings.
00:21So once you've completed your animation inside of Edge Animate, come up to the File menu,
00:25come down to Publish Settings, and here you'll see a dialog box which will give you three
00:30publication options.
00:31First is the Web settings, which will basically export all of the HTML and JavaScript files
00:37similar to export from Sencha Animator. We have the iBooks/OS X, this will create a widget
00:42that you can use an iBooks author and then the OS X dashboard. And unique to Edge Animate
00:48is this option here called the animate deployment package.
00:51This basically creates an OAM file, which is a ZIP archive which contains all of the JavaScript,
00:57HTML and graphical assets needed to recreate your animation project.
01:02Now the OAM file format gives you a really quick and efficient way to share your Edge
01:06animation projects with other Adobe authoring applications including InDesign, Dreamweaver,
01:11and Adobe Muse.
01:12
Collapse this transcript
23. Coming to Edge Animate from Tumult Hype 1.5.2
Relating to a new interface
00:00In this chapter, I want to show you how you can get started with Adobe Edge Animate by
00:04leveraging your animation and skill sets from Tumult Hype.
00:07Now inside of Hype we have a main stage area in the center of the screen, across the top
00:11we have scenes, down at the bottom we have our timeline with our playhead, which we can
00:16drive back and forth and see our animation, and in the upper right-hand corner of my screen,
00:21I have the Inspector.
00:22Now the Inspector looks a lot like the inspector inside of tools like Keynote and Numbers, where
00:27I can select the individual item and then go to different tabs and see all of the different
00:32properties for each one of the types of content I have select on the stage.
00:37Now inside of the Edge Animate environment, our stage is in the upper center of the screen,
00:41our timeline is underneath, our playhead shows up here, where I can click and drag and scrub
00:48through our animation.
00:49In the upper left-hand corner is our Properties panel.
00:52This Properties panel will change based on what we have selected on the stage, so if
00:56I come into the stage and select on this apple graphic here, we can see that the panel will
01:00light up with all of the different properties that I can change based on the element that I have selected.
01:04In the right-hand side of the screen, I have an Elements panel. This shows you all of the
01:08HTML that Adobe Edge Animate will generate when we publish out our file. And underneath,
01:13we have the Library panel.
01:15This shows us all of the assets available to the project, our symbols, and any fonts that
01:19we've linked to using online font services.
01:22So now that we're familiar with the interface, next we'll talk about Creating Animations.
01:26
Collapse this transcript
Creating animations
00:00Now, to create animations in Hype, the first thing I'll do is come over here and select
00:03the apple on the Stage.
00:05Down in the Timeline Panel, the properties that we can animate are in a separate panel
00:09from the actual elements on the Stage.
00:12So with the apple selected, I am going to come down here, and choose Origin (Top), click
00:16on the plus sign here to create a keyframe.
00:20I'll drag the playhead out to the 1 second mark, click over here and add a second keyframe.
00:25Then, I'll come back to the first keyframe.
00:28I am going to grab the apple, move it vertically off the Stage.
00:34When I let go, Hype will automatically create an animation between those two keyframes.
00:37So I can click and drag this and see the animation.
00:41Now, I'll come down into the Properties Panel, select this animation, and over here we have
00:47some easing effects.
00:48I'll come down and choose Bounce.
00:50With that in place, let's hit the Spacebar.
00:52So, in addition to the animation of the top keyframes, we also have the Bounce script
00:57being applied, which adds additional motion without additional keyframes.
01:01Now, above the stage, we have these two scenes here.
01:03So, if I click over to Scene 2, we can see that this is a completely independent timeline from Scene 1.
01:10So Hype uses this idea of scenes, where we can separate the animations so that they can
01:16play independently.
01:17Now, to create similar animations inside of Edge Animate, I am going to come over here
01:21to the Stage, and select the apple.
01:24Now down in the Timeline, we have a few toggles we can turn on here.
01:27The first one is the Auto-Keyframe, second one is Auto-Transition.
01:31Now in Hype, when you assign individual keyframes, you automatically get a transition.
01:36This is an option inside of Edge Animate that you can turn on and off.
01:39So, with these two items selected, you are going to get more of the behavior that you
01:42are used to in Hype. And I am also going to come over here and activate a feature that's
01:46unique to Edge Animate called the Toggle Pin.
01:48So with the Toggle Pin selected, we can see right above the playhead, we get this little blue pin.
01:52I am going to click and drag this out to the 1 second mark.
01:56Now, what this feature does is allows us to work with our animation at the state of the
02:011 second mark, which is what we see on the stage.
02:03But as we make changes to the keyframes, those keyframes will be applied where the
02:08playhead is, at the 0 mark.
02:10So to demonstrate this, we have the apple selected, we have the Toggle Pin activated.
02:14Let's come over to the Properties Panel.
02:16Let's activate the Y property, or the Top property.
02:19That's going to give us a keyframe down here.
02:21Now let's come up to the apple.
02:24Let's grab it and drag it off the stage.
02:26And then when I let go of the object, Edge Animate will create an animation that resolves
02:31in the same position that we first started when we activated the Toggle Pin.
02:36With the animation created, let's come down in the timeline.
02:39Let's select the transition for Top.
02:41With that selected, let's come over here next to the Toggle Pin, click on the Easing button,
02:46come out and choose Ease Out, and then Bounce. I'll hit Return.
02:52And then when I hit the Spacebar to preview the animation, we'll see the Bounce effect
02:55is now attaching to the animation as well.
02:57Now, there is one more feature I want to take a look at inside of Edge Animate, and that
03:00is the feature of being able to create animated symbols.
03:03So, I am going to come up here to the Library Panel.
03:05Let's open up the Images directory.
03:07I am going to grab a copy of the green_apple.png, just drag this onto the stage.
03:12I am going to position it.
03:15I am going to come down to the Timeline Panel.
03:18I am going to select the right apple, go to the Edit Menu and choose Copy.
03:22Next, I'll select the green_apple.
03:25Come up to the Edit Menu and choose Paste.
03:27Now this is a feature that you will also have in Hype.
03:30And what it does is it copies all of the animation keyframes from one element to the other.
03:34So let's come down to the timeline.
03:36I am going to turn off the Toggle Pin.
03:38I am going to grab the entire animation for the green_apple, drag it back.
03:43Now if I drag the timeline, we can see both elements are animated.
03:47But now, to do something similar to what we can do with scenes in Hype, I am going to
03:51select the green apple.
03:52I am going to right-click on it and say Convert to Symbol.
03:55We are going to name this green_apple.
03:58And then on the Timeline for green_apple, we are going to come over here to the Playback
04:03Setting, drag the playhead back to 0, click on this button here, choose Stop.
04:10Then I'll drag the playhead out until the point where the red apple has completed its animation.
04:16Then come back to the Playback control, and then choose Play.
04:21So now the animation that's being wrapped up inside of that symbol is being told to
04:25stop at the 0 marker, and it's going to remain stopped until it receives an instruction at
04:30this point to play.
04:32So I'll drag the playhead back to the 0, 0 marker, hit the Spacebar to preview, and then
04:36you will see that the green apple will play after the red apple has completed.
04:39So, this is how we can control groups of animations inside of Edge Animate.
04:43
Collapse this transcript
Differences in publishing
00:00Once you've completed your animated project inside of Hype, you'll come up to the File
00:04menu, come down and choose Export as HTML5, and you can choose to export out to a folder,
00:09which will result in a folder containing all of the HTML and JavaScript files necessary
00:14to create the animation.
00:15And you can also choose a Dashboard/iBooks Author Widget, which you can use in iBooks
00:20Author or use with the Macintosh OS X Dashboard.
00:24When you've completed your project inside of Edge Animate, you're going to come up to
00:26the File menu, and choose Publish Settings.
00:30Inside this dialog box, you will have three options for saving out your file.
00:33First one is Web, which is similar to the Export to Folder, which is going to give you a copy
00:38of the HTML and all of the JavaScript files.
00:41You'll also have the iBooks/OS X widget, same thing that you have again inside of Hype.
00:46And there's a third option which is unique to Edge Animate, which is called the Animate
00:50Deployment Package.
00:51And what this option does is create an OAM file.
00:54This is a file that is basically an archive that contains all of the HTML, CSS, and assets
00:59necessary to replicate your project.
01:01And it's a file format that can be used in other Adobe authoring applications, such as
01:05InDesign, Dreamweaver, and Adobe Muse.
01:07
Collapse this transcript
Conclusion
Conclusion
00:00So now that we've completed our Essentials Training for Edge Animate, I want to talk
00:03about some of the possibilities that you might want to consider based on all of the material
00:07we covered in this course.
00:09The first resource I think you should check out is html.adobe.com.
00:13This website showcases all of the latest technologies that Adobe is working on in relation to HTML,
00:18CSS, and JavaScript.
00:20Next, on the lynda.com library, I'd like to recommend Muse.
00:24If you found that working inside of Edge Animate, without having to do anything with code was
00:28very inviting, Muse is another application from Adobe which will allow you to create
00:32websites without coding anything at all.
00:35So everything is done in a very visual environment.
00:38The next course on lynda.com would be Digital Publishing Fundamentals.
00:41While working in this course, if you liked taking your Edge Animation into InDesign
00:45and publishing out to a digital magazine, you can learn more about that workflow with
00:49the Digital Publishing Fundamentals.
00:51Next is iBooks Author.
00:53We also took our Edge Animate project into iBooks Author, and created an iBook for the iPad.
00:58In one of the earlier chapters, we also created a series of web graphics.
01:02We created web graphics from Illustrator, Photoshop, and Fireworks.
01:05There are specific courses for creating web graphics from various applications, including
01:09Illustrator here, Photoshop for Web Design, and Fireworks New Features.
01:16And if you'd like to learn more about responsive web design, this particular project here, which
01:21we actually used in the Edge Animate course to modify existing HTML, is also a course available
01:27on lynda.com as well.
01:28So, all of the responsive aspects of this design, I'll walk you through step-by-step
01:32on how to create this.
01:34You can find this responsive design course, in addition to a series of jQuery-based courses,
01:39on my area of lynda.com.
01:41And in here, I have a whole series of courses that will teach you step by step how to take
01:46HTML, add CSS and JavaScript to create rich interactive experiences.
01:50And with that, that concludes Essential Training with Edge Animate, and I really appreciate
01:54you watching the course.
01:55
Collapse this transcript


Suggested courses to watch next:

CSS: Core Concepts (8h 49m)
James Williamson

jQuery Essential Training (4h 52m)
Joe Marini


HTML5 First Look (4h 28m)
James Williamson

JavaScript Essential Training (5h 31m)
Simon Allardice


Are you sure you want to delete this bookmark?

cancel

Bookmark this Tutorial

Name

Description

{0} characters left

Tags

Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading
cancel

bookmark this course

{0} characters left Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading

Error:

go to playlists »

Create new playlist

name:
description:
save cancel

You must be a lynda.com member to watch this video.

Every course in the lynda.com library contains free videos that let you assess the quality of our tutorials before you subscribe—just click on the blue links to watch them. Become a member to access all 104,069 instructional videos.

get started learn more

If you are already an active lynda.com member, please log in to access the lynda.com library.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Access to lynda.com videos

Your organization has a limited access membership to the lynda.com library that allows access to only a specific, limited selection of courses.

You don't have access to this video.

You're logged in as an account administrator, but your membership is not active.

Contact a Training Solutions Advisor at 1 (888) 335-9632.

How to access this video.

If this course is one of your five classes, then your class currently isn't in session.

If you want to watch this video and it is not part of your class, upgrade your membership for unlimited access to the full library of 2,024 courses anytime, anywhere.

learn more upgrade

You can always watch the free content included in every course.

Questions? Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com.

You don't have access to this video.

You're logged in as an account administrator, but your membership is no longer active. You can still access reports and account information.

To reactivate your account, contact a Training Solutions Advisor at 1 1 (888) 335-9632.

Need help accessing this video?

You can't access this video from your master administrator account.

Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com for help accessing this video.

preview image of new course page

Try our new course pages

Explore our redesigned course pages, and tell us about your experience.

If you want to switch back to the old view, change your site preferences from the my account menu.

Try the new pages No, thanks

site feedback

Thanks for signing up.

We’ll send you a confirmation email shortly.


By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked