Edge First Look Preview 6

Edge First Look Preview 6

with Ray Villalobos

 


This course takes a first look at Edge, a new tool from Adobe for creating interactive animations, which utilizes the latest web standards including HTML5, JavaScript, and jQuery. This course covers how to create and build interactivity into motion content in an easy-to-use, timeline-based interface. Author Ray Villalobos also explains the possibilities Edge offers web designers and developers, including drawing and animating with Edge, working with the timeline, exploring symbols, and creating interactivity with timeline triggers and scripts.
Topics include:
  • Understanding the Edge interface
  • Previewing, saving, and publishing compositions
  • Drawing with the Edge tools
  • Working with text
  • Working with keyframes
  • Exporting and importing symbols
  • Creating timeline triggers
  • Creating object scripts
  • Using preloaders

show more

author
Ray Villalobos
subject
Web
software
Edge Animate
level
Beginner
duration
1h 56m
released
Jun 07, 2012

Share this course

Ready to join? subscribe


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
Welcome
00:04Hey there! This is Ray Villalobos and welcome to Adobe Edge Prerelease 6: First Look.
00:09In this course, we'll look Adobe's HTML5 animation and interaction software Adobe Edge.
00:14I'll start by showing you how to download and install Adobe Edge and go through setting
00:18up understanding the Edge interface, previewing, and publishing your Edge projects.
00:23Then I'll show you how to work with some of the tools in Adobe Edge, like the drawing
00:27and text tools, plus how to work with custom fonts and imported assets.
00:32We'll also see how Edge animation works using keyframes and symbols plus how to use easing and the timeline.
00:38Finally, I'll show you how to program Adobe Edge using timeline triggers, organizing animations
00:43with labels, and object scripts, plus the Code panel, a new addition to this prerelease version.
00:49We'll be covering all these features and lots more, so let's get started with Adobe Edge
00:54Prerelease 6: First Look.
Collapse this transcript
Downloading and installing Edge
00:00Adobe Edge is not a regular application, but a prerelease product. Because of that there's
00:05a couple of ways to download and install it, so let's take a look.
00:08One way to download Edge is to go to Adobe's official Edge site at edge.adobe.com.
00:13I want to scroll down and click on the Get Edge preview 6, and that will launch the Adobe
00:19Labs web site. You'll need to have an Adobe ID, so you can create an account or sign in
00:23with your existing account.
00:27So, I need to scroll down over here and pick a version for my platform.
00:31I'm on a Mac, so I'll click on the Edge preview 6 for Mac, and that should download an installer
00:37into my downloads folder. I'm in Safari so I can just click on this icon, then click
00:42on this magnifying glass, and I'll double- click on this installer, open up this folder and
00:49run this install application. I'll click on Accept here for the License Agreement, and
00:54then hit the Install button.
00:59Now the Installation is Complete, so I'll hit the Launch Now button, and that launches the application.
01:04I am going to go ahead and quit Adobe Edge here, and I want to show you that if you have
01:09any problems, you may want to check to see if you have a previous version of Adobe Edge
01:13installed, before you install a new copy.
01:15So, if that's the case just double-click on the Adobe Edge Preview folder and find the
01:20Edge Uninstaller application.
01:23So double-click on that, and then hit the Uninstall button.
01:28We'll now hit the Close button, and now the application is Uninstalled.
01:32Now there is a second way of getting the Adobe Edge preview, and that is if you want a Creative Cloud Membership.
01:38If you go to the Adobe Creative Cloud at creative. adobe.com and sign in with your Adobe ID--then we'll
01:45click on Sign in right here--you can log into the Creative Cloud.
01:49I am going to go to the Apps & Services tab right here, and I can choose to try or install
01:54any of the Adobe applications.
01:56If this is your first time on Creative Cloud, you'll have to first download and install
02:00the Adobe Application Manager.
02:04And I'll go to Downloads folder and open up the Adobe Application Manager application,
02:10and there is the download, so let's wait until that it finishes running, and I'll double-click
02:15on that let's click Open here.
02:18Once again if you encounter any errors make sure that you don't have an old version of Edge installed.
02:23If you do, look for the uninstaller application and Uninstall Edge before you install the new copy.
02:29So this is the Adobe Application Manager window, and you have to login.
02:33So I'll Sign-in, and I'll Accept the License Agreement.
02:39Within the Adobe Application Manager, installing application is extremely easy.
02:42Here is the Adobe Edge Preview, so I'll click on this Install link and the application will
02:47download, and then install, and you can even launch the application from within this window.
02:52So I'll click on Launch App and Adobe Edge launches.
02:57Installing Edge is easier if you have a Creative Cloud subscription.
03:00If you don't, the prerelease site is easy enough.
03:02Either way, make sure you've uninstalled older copies of Edge before you run the installers.
Collapse this transcript
What is Adobe Edge?
00:00Before we get started with Adobe Edge let's take a minute to talk about what Edge is and what it's for.
00:06Edge is a motion and interaction design tool from Adobe that helps you build animated and
00:11interactive graphics with HTML standards.
00:14It's similar in that way to Flash, but it uses Web standards to let you build content
00:18that is viewable across a large number of devices and platforms, and that includes iOS
00:23devices like the iPhone and the iPad.
00:26Adobe has taken the time to re-imagine how a timeline-based interface should work for
00:30online graphics, and focused on creating an easy-to- use and speedy workflow for building animations.
00:36If you're familiar with Flash or other Adobe Timeline tools like After Effects, Edge will
00:41be easier to work with.
00:43A really interesting fact about Edge is that it's a DOM based tool.
00:47So if you're familiar with the Document Object model or objects within an HTML page or structure
00:52into an outline of elements, the Edge interface will make a lot more sense to you.
00:56Unlike Flash's ActionScript, Edge has no built-in scripting language.
01:00It uses standard JavaScript and includes a copy of jQuery.
01:04So you can build interactivity with HTML scripting languages.
01:07Edge is classified as a prerelease product, so although it's quite capable, there's no
01:12guarantee that the way to working right now will be the way the product functions when
01:16it's finally released as a complete application.
01:19Adobe has undertaken a methodical and deliberative approach to building an HTML-based interactive
01:24application tool with Edge.
01:26Right now, building cross-platform compatible animations and interactivity into an existing
01:31web site is cumbersome and time-consuming.
01:33Edge represents the future of the Web, and it can't wait for every new release.
01:37Adobe is hinting a greatness with every new peek into this application.
Collapse this transcript
Using the exercise files
00:00If you're a premium member of the lynda.com Online Training Library or if you're watching
00:05this tutorial on a DVD-ROM, you have access to the exercise files used throughout this title.
00:11Inside the exercise files folder, you'll see additional folders for each movie in the course.
00:16If you open up some of these folders, you'll see assets that we use when working with that particular movie.
00:22On some folders, you may see a finished folder as well as a working folder.
00:27The working folder will have a folder called RouxAnimation.
00:31This folder has the files when I began the project.
00:34Adobe Edge writes a series of files to your hard drive, so all the files are grouped into this folder.
00:40Anytime you see something outside this RouxAnimation folder, it's an asset that we'll be using in that movie.
00:46Start by copying these files onto your Desktop.
00:49I like to move any additional files to the right of my screen and open up the RouxAnimation
00:55folder, then double-click on the .edge file.
00:59If you're a monthly member or annual member of lynda.com, you don't have access to the
01:03exercise files but, you can follow along from scratch with your own assets.
01:08So let's get ready to take a look at Adobe Edge Prerelease 6.
Collapse this transcript
1. Exploring Edge
Understanding the Edge interface
00:00The interface for Edge is similar to other Adobe products, but because of its focus on
00:05HTML standards, Edge works a little bit differently than most other applications, so let's take a look.
00:11So when you first run Edge, you'll see the standard getting started window, you want
00:15to click on Create a New document to start the Edge interface.
00:18When you first run Adobe Edge, you'll be presented with an application frame view of the interface.
00:23For Mac users there is no option of starting out with a normal view, but that's okay, the
00:27application frame is a real comfortable way for working with most projects.
00:31There is a lot less panels than in most applications, but like with other Adobe CS6 products, the
00:37dark interface is standard for working with Edge.
00:40Panels can be repositioned like in other apps, so I can click on these little handles right
00:45here and put panels wherever I want them to go, and there's even a way to create workspaces,
00:50as well as resetting workspaces to the default, which I'll do right now.
00:54You can also drag the Edges of panels to resize them, and there is usual pop-up menus under
00:59each panel, although there are super sparse right now I imagine as Adobe gets closer
01:03to releasing a final product, these will be enhanced and improved upon.
01:08There are seven panels that come with this prerelease and six of them are viewable in
01:12the standard workspace.
01:13Of course, the tools panel which is at the top of the window, the Properties panel which
01:17is to the left of the stage, which is the main area where you draw things, the Timeline
01:22which is underneath and at the bottom of the stage.
01:25The Elements panel which is to the right of the stage, as well as the Library panel that's
01:30right underneath that, and then there's a Lessons panel that gives you some step-by-step
01:34lessons for learning Edge, and finally, the Code panel which is new for Prerelease 6,
01:40and normally hidden.
01:42So, the tools panel has a set of drawing an object manipulation tools, as you see right here.
01:47Of course, we have this standard Selection tool, and we have tools for drawing rectangles
01:51and rounded rectangles.
01:53Rectangles and Rounded Rectangles are pretty much the same object, so if I click and drag
01:56on one of these, you can see that even though I can draw a rectangle with this tool, I can
02:01make it into a rounded rectangle using the Properties panel.
02:04So, really these two tools are pretty much the same, this is just a shortcut for creating rounded rectangles.
02:09So you can also add a clipping path to any elements, so this is the Clipping tool, let
02:13me go ahead and give this a rounded edge, and I'll use this Clipping tool that allows
02:18me to clip out some of the edges of that element.
02:20Of course, you have the Transform tool, which lets you rotate an element and also allows
02:26you to change the origin of the rotation, so I can move this little target right here
02:30by clicking and dragging on it, and then from then on, whenever I rotate, I'll rotate around that origin.
02:35Of course, there is color wells right here, so you can change the color of any object,
02:39as well as the stroke, right now this element doesn't have any stroke, so we can give it
02:44a stroke by going to the Properties panel and just clicking and dragging on this edge right here.
02:49So, right now I have a black stroke, I'll switch it to a green stroke, and right now
02:55because I'm clipped I can't really see the edge, so I'll make this a little bit smaller, make
03:01it clip a little bit differently there, and I can see the entire border of my object.
03:06And of course there is a Text tool, you see right here.
03:08If I click on that I can just start typing text and move that text around like a normal element.
03:15Of course, the Properties panel is pretty much a standard across all Adobe products
03:20and a super important part of this interface.
03:22You can adjust the properties of any elements on a page with the Properties panel.
03:26It's context-sensitive, which means that it adjusts to display the elements most important
03:32to this particular object.
03:33So, since I've text selected, I can see that I can change the font right here, change the
03:38font size of the text, as well as the text color.
03:41If I click on this other element that I drew, I can do things like controlling the rounded
03:46edges and also the width of the border, as well as other rectangle like properties.
03:54So the Timeline is where you animate elements.
03:56If you're familiar with the After Effects or even Photoshop's animation timeline, these
04:00will seem familiar.
04:02As you create elements on the stage, you can animate them here.
04:05Now one interesting thing is that you can't reorder the position of these objects, so
04:09let me go ahead and just make this a different color, and if I want to change the positioning
04:14in these objects, I can't do that here.
04:16I have to do that in the Elements panel, so the elements allow you to reposition objects
04:21and also move objects within other objects.
04:24So I can put this text inside this rectangle and right now you can see that the rectangle
04:29actually clipping the text and these will move together as a single element.
04:33So that's done through the Elements panel, and it does have a relation to the Timeline
04:37panel, as soon as I insert another object-- so I'll click on this rectangle and draw me
04:41another rectangle here--you can see that they both show that these are rectangles and they're
04:46positioned in the current layering system.
04:48I can rename any of these rectangles by double-clicking on the Timeline.
04:52I'll call this one big_red here, and I'll click on this one and call it round_rect.
05:00Notice how Edge automatically renames my layer, so that they are HTML compatible div names.
05:05So, the Elements panel is sort of like a Timeline panel that you can animate.
05:09It helps you think of it as a layers panel.
05:12So, the Library panel is where you manage all of your assets in Edge, it will show
05:16any existing files that you've imported, plus allow you to create symbols and add custom fonts.
05:21We will be covering the Library panel in another movie.
05:24Of course, you see the Lessons panel here to the right of the interface, and there's
05:28a lot of lessons that are pretty good for getting along in Edge.
05:32Although they are not videos, they're step-by-step instructions that will get you going with Edge quickly.
05:37Although Edge comes with a pretty standard Adobe interface, when working with Edge, it
05:41helps to remember that this is an HTML animation tool.
05:44Working with Edge, means you'll be working with an animating divs in the stage.
Collapse this transcript
Setting up the stage
00:00Just about any project usually begins by setting up the stage.
00:04In Edge the stage can be controlled through the Properties panel when no objects are selected.
00:09If you've got another element here, like a rounded rectangle, then the Properties panel
00:13will show properties for that element.
00:15If you want to change the Stage just click on the background, and then you can see these
00:18options for the Stage.
00:20So, the first thing you see is of course the Width and Height.
00:23We can choose a Width and the Height by clicking and dragging right here--and I think you
00:27can't see it, because it's sort of hidden here.
00:29So, I'll make it smaller, and there you can see the Width and Height can adjust
00:33right there and here's the Height.
00:37If we click on this little icon right here, they will adjust proportionally together and
00:42of course, we can also type in these sizes numerically.
00:44So I can 1000x320, and that will adjust the size of the Stage to those numeric sizes.
00:51Of course, I can click on this well right here and change the background color of the stage.
00:56Now H has his option for Overflow, it means what happens when an object goes off screen,
01:01so if I put this object right here, and right now I have the overflows being visible, if
01:06a preview this in a browser, I am going to hit Command+Return, because I'm on a Mac,
01:10or be Ctrl+Enter on a PC, you could see that even though the object is off the Stage, it's
01:15still showing me the entire object, that's because of that option to make the Overflow visible.
01:21If I turned this on to hidden, and I hit Command+ Return or Ctrl+Enter, you can see that the Overflow
01:26is now hidden from view.
01:28That's actually an object by object property, you can make any object have its overflow
01:32show up or be hidden.
01:34In addition to some other options that are kind of weird, but makes sense if you know
01:38HTML, you can said the overflow to be scroll, which if we preview it, shows you this little
01:43scrolling bars, and you can scroll and see the rest of the overflow.
01:46I am not sure if you would use that for developing animations in Edge, but it's there, because it's in HTML.
01:52Of course, you have the option to Autoplay, since this is an animation program, this will
01:56mean that the animation will automatically play when it's loaded into the browser.
02:00If you click that off, then you can control the application with JavaScript.
02:04The Composition ID allows you to customize the name for the ID that it creates when it
02:09places an object in HTML, so we can modify that to make it something else, that's a little
02:14more humanly readable.
02:15You want to make sure that it's something unique just in case you're planning on using
02:19several edge animations per page, that's why it such a random number, when you first started off.
02:24Notice there is also diamonds next to the stage and the color that means that these
02:28options are something you can animate.
02:30Now there are a few other options that allow you to control what happens when Edge encounters
02:34a browser without HTML5 support, and also control the pre-loader.
02:39We'll cover those more in depth in other movies, but let's check them out really quick.
02:43So first is this poster image thing, what that means is that Edge allows you to show
02:48something on screen for browsers that don't support HTML5 construct.
02:52I need to save the document before I can create a poster image, but if I saved it, then I
02:57can ask Edge to select a specific keyframe or a keyframe state as my poster image.
03:03I can also choose to show a standard graphic as the poster image.
03:07Now in the down level Stage Options there are options for what happens when we're in
03:12a browser again that does not support HTML5.
03:15So, when I click on that, it goes into a special timeline.
03:18Notice that, right here it shows you the hierarchy of the Timeline.
03:22So right now we're in this down level timeline.
03:24If we click back to Stage, we'll go back to the regular stage.
03:27So I will click on Edit here again, and if we had a poster image, we can insert the poster
03:32image, or we can insert a graphic that says, sorry you don't have any HTML support or
03:37whatever else you wanted to say when somebody has an older browser. So let's go back into
03:41the Stage and another thing that you can do is control what the pre-loader image looks like.
03:46If I click on Edit, again it goes to a different timeline, notice the stage is right here,
03:51and we're on the pre-loader timeline, and I can insert a premade preloader from the
03:56list right here or place my own preloader on the screen, so I can hit this Loading Bar
04:01and actually hit Insert, and it'll show this animation when the file is loading.
04:06Over here you can see the preloader size, how the size of the image that I have affects
04:10the total size of my document, and of course, you can put anything else you want in here,
04:14like some text or maybe even a photo.
04:17So setting up the Stage is pretty easy in Edge, and I, like some of these options to
04:20control what happens when somebody has older browsers.
Collapse this transcript
Previewing, saving, and basic publishing
00:00If you're like me, you're probably terrified of working with unsaved document.
00:04Sooner or later, a power outage will teach you that while we still have file systems,
00:08saving files is often a good idea.
00:11If you're used to other software like Flash, Photoshop, or Fireworks, you're used to dealing
00:15with at least two sets of files, a native version of your files, as well as an output version.
00:21Edge is a lot different than most software, because saving or publishing files can easily
00:26generate ten or more files.
00:28So let's take a look at how Edge previews, saves, and publishes documents.
00:32We'll start off by creating a document.
00:34I'll just hit the Create New button here, and I'll resize my Stage to 1000 pixelsx320,
00:40and I'll hit the Command+- or the Ctrl+- on a PC, and I'm going to bring in a graphic
00:46just to show you some of the folders that Edge creates when exporting graphics.
00:50Ill go to the File menu and select Import.
00:52I have a graphic on the Desktop called art01, so I'll click on Open, and it places the document in the window.
01:00Now I'm going to create a rectangle just a rounded rectangle, click and drag right there,
01:06and I'll color it a little bit dark red, click on the Text tool, and I'll create a text element
01:11called Roux Academy Conference, and I'll drag that over here, color it white.
01:20Actually, if you're used to any other Adobe tools, drawing is pretty simple, but I just
01:26wanted to quickly create this document to show you actually the exporting feature.
01:30So I'll make that a little bigger, scoot it over, and now I'm ready to go ahead and export this.
01:35So we'll start by saving the file from within Edge.
01:39Simple enough, go to the File menu, you can select Save or Save As.
01:42This is the first time I save this document, so it really doesn't matter, I'll choose Save As.
01:47And what I want to do is I want to place this on the Desktop.
01:49Now before you save a document, you'll definitely want to create a folder.
01:53Edge is going to generate about ten or more files depending on the amount of graphics
01:57that I'm using in a project. So it's often best to group them into a folder.
02:01So I'm going to click on New Folder, I'll call it rouxacademy, hit the Create button,
02:07and then I'll give my document a name and the File Format will be Html file.
02:12So I'm going to hit Save, so let's take a look on the Desktop and see what's happened.
02:16So here's the folder that we created, here's my original artwork.
02:19So I'll open that up, and you see that Edge has generated a number of files, including
02:24an images folder, because I placed an image in there, as well as an edge_includes folder
02:29with a number of other files.
02:30So there are quite a few files already in here, and we have barely drawn anything at all in Adobe Edge.
02:36So what I'm going to do is I'm going to open up BBEdit, and we'll take a look at some of these files.
02:40This is just a text editor.
02:41So the .edge file is what you would consider the native file. But it's slightly different.
02:47Notice that it's a little bit of text with actually some JSON data.
02:51Now the HTML file is pretty simple HTML.
02:54You could see that it has an HTML5 structure with a single div right now, right here, as
03:01well as a little bit of a style here just to show that the Edge class here is not going to display at all.
03:08And it also has a link to a JavaScript file called rouxacademy_edgePreload.js, and that
03:14is actually already in this folder.
03:17So this is the preloader for all the other documents, and if you scroll down to the very
03:20bottom, you see that this one actually calls a lot of other files.
03:24Essentially, the files that you see right here at the same level as the HTML, are files
03:29that Edge is going to need for displaying the elements that you have drawn on its interface.
03:35Preloading certain things, applying actions so the things animate, and also have interactivity
03:39built onto them, and then just some basic JavaScript with some of the data for the files.
03:45In the Edge includes, you'll find libraries that Adobe Edge uses in all of its projects.
03:50So if you're creating different projects, you're probably going to need only these files.
03:54You're not going to need to resave all these other files.
03:57For example, you can see jQuery is right here, you're not going to need another copy of jQuery
04:02for every Edge project that you create.
04:04And there is a jQuery easing library, as well as a JSON celebrity and the regular Edge library itself.
04:11So the JavaScript files can be divided into two sections.
04:14Everything outside the Edge_includes folder are scripts related to the current document,
04:19files that change dramatically as we edit and add interactivity to our document.
04:24Everything inside the Edge_includes folder is a standard library that's not going to
04:28normally change unless a new version of Edge releases.
04:32If you're a web developer, you can usually dig into some of the JavaScript code, and
04:35if you're really careful, you can edit it without blowing up the site.
04:39There's also an images folder which right now has the only image that we have on the document.
04:43That's why I wanted to import something just to show you that any images will show up right here.
04:48So that's kind of nice, Edge is actually organizing things for you and placing things where they belong.
04:53If you would have made a poster for non-HTML5 browsers, that would also be in the images folder.
04:59So since this is a regular HTML document, you can actually preview it in a browser.
05:03So let's go ahead and hide this BBEdit window, and I'll just grab this HTML file, and
05:09there's our Roux Academy Conference site.
05:11I didn't tell the Stage to hide Overflow, so it's showing everything, including the
05:15Overflow outside the Stage.
05:18But as we could see, it's a regular HTML document.
05:20If it had animation, it would show us the animation.
05:23So let me go back onto Edge and show you how you preview a document without publishing it.
05:28Previewing is really easy.
05:29All you have to do is hit Command+Return or Ctrl+Enter, and you can do a quick preview
05:35of what your Edge file is looking like at the moment.
05:37So if you wanted to fix some of this overflow that we're having here, we'll go back to the
05:42Stage, make sure that this Overflow is hidden, and I'm going to hit Command+Return, and now
05:47the overflow is hidden.
05:48This is a really quick way, it kind of reminds you of the way Flash deals with files.
05:52Command+Return does a quick preview on your current browser.
05:56Now if you want to just preview things in Edge itself, you can use this little player
06:00right here to Rewind, Play, and Fast-Forward.
06:03Right now, we don't really have an animation, so you can't see any of that happening.
06:07If you're ready to place your animation on the Web, you might be tempted to just copy
06:12all the files that we looked at in our folder already, but it's actually best to publish them.
06:16One of the things that publishing does is minify the JavaScript files, so they'll be smaller.
06:21There are also some additional options for publishing that you might be interested in checking out.
06:26So if we go to the File menu, we can select Publish Settings and take a look at some of these options.
06:31You could see that you can save the files for InDesign just click on these little check
06:36boxes, as well as iBooks Author compatible files for OS X.
06:41I'll click those off, because I'm interested right now in just the Web files.
06:44So if you click on that, you'll see that there is an option for the Target Directory.
06:48So if you don't like the folders that Edge creates when it publishes the files, then
06:54you can change the location of where it publishes by clicking on this Target Directory icon right here.
06:59If you want Edge to try to create files that are compatible with IE6, IE7, and IE8, you
07:04could click on this option.
07:05This will create a version that runs in the Chrome Frame Installer.
07:09It's a way of running files in older browsers that will actually prompt for an installation of a plug-in.
07:16If users with these older browsers have the plug-in, it will automatically work.
07:20If they don't, then you might want to click on this little popup menu and ask the user
07:25to install a version of the Frame Installer.
07:27Just click on whether you want an IFrame Prompt or an Overlay Prompt.
07:31If you don't care about IE6, IE7, and IE8 compatibility, you can click that off.
07:35You can also ask Edge to load the frameworks like jQuery via a Content Delivery Network.
07:41That will normally be faster, so this is a good option.
07:44A Content Delivery Network is a place on the Web where the files for projects are automatically placed and loaded.
07:52Since a lot of web sites are going to be using these Content Delivery Networks, when your
07:56application loads, the CDN version of say something like jQuery, it will load a lot
08:00quicker and probably be cached on your browser from another site that uses the same library.
08:06Finally, you can choose to publish content as static HTML.
08:10That improves search engine optimization a little bit.
08:12Let's go ahead and save this as it is right now, and I'll publish it just to show you
08:16a little bit of what the difference is.
08:18I'm going to hit Publish here, and it very quickly publishes the document.
08:22And now when we go to the rouxacademy folder, you'll see an additional publish folder.
08:27If you click on that, you can see that there is the web folder inside the publish folder,
08:32and that has similar files to what we see out here, Preload, the Actions, edge.js, the
08:37edge_includes is right here.
08:38So this is almost like a self--contained version of the files that are outside here.
08:44However, you can see that some of the Edge files are a little bit smaller.
08:47You can see that this one right now is 2K, but the version that we have here is 1K where
08:52the edgeActions are 563 bytes, over here there are only 200 bytes.
08:57So this is just minified JavaScript.
08:59If we were to look at it with BBEdit, you would see that it's pretty much all running together.
09:04And that's what minifying does. It just makes the files a little bit smaller.
09:09Now if we take a look at this HTML document in BBEdit, here's our publish folder and here's
09:14our web folder, here's our HTML document.
09:17So you could see that everything is really just a single div with a style sheet right
09:23here just a basic style that doesn't display the element until it's loaded, and then a
09:27simple call to our JavaScript preloader here.
09:31Now let me go back to Edge and publish it the other way, and I'll go to the File menu
09:35and select Publish Settings, and say Publish content as static HTML.
09:39I hit Save, and I'm going to say Publish, and that just takes a second, let me go ahead
09:45and close this window here and reload this HTML in BBEdit just to show you the difference.
09:52So you can see here that in this version of the HTML, you actually have a div for the
09:58entire stage, you have a div for the text, and this text is text that's actually in the presentation.
10:04So in the previous version of this file, we simply had a div with a call to a JavaScript.
10:11In this version, we have every element that is in Edge as a separate div.
10:16Let me scoot this over.
10:17So you can see that there is a Stage_Text here and a RoundRectangle for this RoundRectangle
10:23element and a Stage_art for this art element.
10:27So every single div that we have in this document and the text that's in here is also going to show in there.
10:33That gives us a little bit better structure for search engine optimization.
10:37Any text that's in our layout in this fashion will show up in the HTML page, which means
10:43that search engines will be able to see and catalog that text.
10:46This is a little bit better option, but it obviously will create bigger and more complicated files.
10:51In addition to that, you have to watch out that some of these elements are not going
10:55to collide with some of the elements on another page.
10:58So if you have multiple Edge documents in the same HTML page, some of these names might cause some problems.
11:05So I would say that the single div with the JavaScript link is a little bit safer, but
11:10this is definitely a little bit better for SEO purposes.
11:13So saving, previewing, and publishing files in Edge is not a traditional workflow, but
11:18after working with the program for a while, it will be easier to get used to.
Collapse this transcript
2. Creating and Using Assets
Drawing in Edge
00:00Because Edge is designed to draw and animate HTML5 divs, Drawing tools are a little spares.
00:06Edge really makes a lot more sense when you know that you're manipulating objects with CSS 3 Properties.
00:12So let's take a look at some of the Drawing Options in Edge.
00:14I'm going to Create New document and in this document I'm going to just draw a rectangle.
00:20Before I do that I want you to notice that there is already an element on the screen,
00:24and that element is the Stage, it's a div, it's here down here as well.
00:29If I create another element by clicking and dragging a Rectangle, I'll create an element inside the Stage.
00:34Everything in Edge goes inside this Stage div. So the Stage is essentially the parent of all the elements.
00:42I can rename an element by double-clicking on it, and when I rename it, you'll notice
00:49that Edge will correct any spaces or special characters I make, so they are Standard HTML5
00:55Compatible IDs for the Objects.
00:59So I really have two tools in Edge, but they're pretty much the same tool.
01:03So I've the Rectangle tool, as well as Rounded Rectangle tool.
01:06If I click and drag on a Rounded Rectangle, you can see that it gives me Round Edges.
01:11So I'll go and modify the color of this one to be something else, so let me make it sort
01:17of a lighter kind of Mauve there, and a Rounded Rectangle just have these round edges that
01:24I can control over here down at the bottom just can click and drag to make those Edges
01:29a little bit more round.
01:31In reality even though you have two Drawing tools, the Rectangle and Rounded Rectangle
01:34tool, they're pretty much the same tool.
01:37Notice that if I click on this other rectangle, I can also have a round edge by clicking and
01:42dragging in the same area.
01:44So even though you have two tools, they are really pretty much the same tool, and it's
01:48really just a div that has Round Edges in it.
01:51So you can modify the location right here, as well as the size of the objects that you
01:56draw by clicking and dragging or double- click and typing in a numeric value here.
02:00You can control the Width and Height, and if you click and drag, you'll notice that
02:04these are linked together right now, because I've this little Link icon.
02:08If I click that off, then I can control just the Width or just the Height separately.
02:14Like with any CSS 3 object, I can also control the Opacity.
02:18So if I click on this, and I click and drag this Opacity Option here, I can control the
02:22Opacity of this Rectangle.
02:24Just like with the Stage, you also have the Option of making the overflow of an object
02:28visible or invisible.
02:30This is not going to make a lot of sense, because there's no object inside other objects.
02:34So what I can do is I can click on this, so this is my Rectangle, the background rectangle,
02:40this is the RoundRectangle here, I'll call this pink, it's more Mauve, so I'll call it Mauve.
02:44I can grab this Mauve RoundedRectangle and place it inside my_Rectangle.
02:50Now here you see that in the Elements panel my _Rectangle is the parent of this Mauve thing.
02:56Now my_Rectangle is set to show the overflow.
03:00So I can modify that by clicking right here and selecting hidden, and that will hide the
03:05invisible part of my RoundedRectangle, that's pretty cool.
03:09This is kind of the Edge Version of grouping things when you have an object inside another
03:14object, they kind of tend to move together like this.
03:17Although you can still click on this Mauve object and move it around from within the other object.
03:22Like with any normal HTML document that has CSS properties, you can also click to create
03:27a solid border or a dashed border.
03:30You can modify the Transform-Origin, and that's the place where this object would rotate,
03:35but it's really easier, you can click and drag these if you want to see the center point moving over.
03:40It's really a lot easier to do that with the Transform tool right here.
03:43So if you click on this, then you can click and drag this origin to where you want, and
03:47then when you rotate, it will rotate around that edge.
03:50You can do that here, but it's just much easier to do it with this Transform tool.
03:54Of course, you can rotate an object, again just by clicking and dragging or by typing
04:00in a numeric value right here.
04:02You can also do things that you do with CSS 3, like Skew Objects and Scale them in either
04:08direction, right now the scaling is linked together.
04:11So I say scale up and down, they are going to scale together.
04:14You can also unlink them and change the horizontal and vertical scale differently here.
04:19Now the cursor is kind of interesting, the cursor is what happens when someone moves
04:23the pointer on top of one of these objects.
04:26So I'll click on the Mauve Object here, and I'll click on--right now the cursor is set to auto.
04:32If I preview this document, I am hitting Command+ Return, see that these are divs and right now it's
04:37just using the standard pointer.
04:39I can see the Selection tool, if I try to click and drag, because these are just like
04:43normal divs in a document.
04:45So I am going to close that and what I'll do is I'll choose the cursor to be something
04:51else like the pointer on this Mauve Object.
04:53And when I preview it, you can see that when the mouse moves over that div, I get the little pointer cursor.
05:00Now when I go to the edge here, it's not going to notice that this is a rounded edge rectangle,
05:05because as far as the HTML is concerned, this is still kind of a rectangle.
05:08So even when I'm right here, it's going to show me that little icon.
05:11So let me go back into Edge.
05:13Now something interesting about Edge is that hiding an element doesn't exactly hide it
05:18in the actual final documents.
05:20If the click to hide this, and I preview my document, I still see the RoundedRectangle.
05:25It's just a way of previewing or hiding it from this preview, but it still showing up
05:30in the final Edge document. Same thing with locking elements.
05:34If I lock an element by clicking right here or down here, I can still move the elements
05:41that are inside other elements, so it's not locking it forever, it is just really locking
05:44it from within the position inside this div, so that's also interesting to note.
05:51So the final couple of things that you can control, and you saw me do it a little bit
05:54here is the roundness of the objects.
05:58So you can control the roundness in three different ways.
06:01You control the roundness of the entire document, so if I click on this it will control the
06:06roundness of everything, including making this into a circle by going all the way as far as I can go.
06:12You can also go and control each individual edge separately.
06:16So I can control each one of these edges by clicking and dragging them.
06:19There is also a little handle right here, you can click and drag that if you want to.
06:23I can do the same thing for some of these other ones, so click and drag.
06:28I can turn some of these off, so if I turn this off, it'll go back to being a rectangle.
06:32Turn that one off, it'll also be back to being a rectangle.
06:35And I can move this one in if I want to, or I can hit this 8 button that will allow me
06:39to move each one of these points that generates the roundness of the rectangle individually.
06:45So now I can click and drag these to make kind of more of an oval shape.
06:49Finally, you see this clip area right here, clipping allows you to control sort of a Rectangular
06:55clip of an element, it's kind of here at the bottom.
06:58So if I click and drag you'll see that it will start clipping my object.
07:01But it's only really clipping in a rectangular manner is it's not really like a complicated
07:05clipping tool, it is just doing a rectangular clip on an object.
07:10Notice the little diamonds next to each of these elements.
07:13Everything with a diamond in Adobe Edge is something that you can create a keyframe for,
07:17which means it's something that you can animate.
07:20So Edge is a lot more fun to use if you've worked with CSS3 features before, because
07:24everything you do in Edge relates to CSS 3 Properties, like Rotations, Skew Transform-Origins,
07:31all those things are CSS3 constructs.
07:33It's actually a lot of fun to be able to control those properties with Edge, because it finally
07:37visualizes something that most people do with code.
Collapse this transcript
Working with text
00:00Working with text in Edge is pretty easy because there aren't a lot of options.
00:05Text is also one of the areas that's probably the buggiest in this prerelease version.
00:09It sort of does remind you that this is not exactly what the program is going to be when it's
00:14finished, and that this is a prerelease version.
00:16So let's find out how to work with text in Edge, and I'll show a couple of the little
00:20issues that I've seen with the current prerelease version.
00:23So I am going to go over here and Create a New File and in this file I'll click right
00:27here on the Text tool, and I'll click somewhere on the stage.
00:30As soon as I do that I can start typing text.
00:33This is an intermediary textbox here, so let me type in Roux Academy and notice that this
00:38is not really what the text is going to look like.
00:41It's a textbox to type in the text that appears on my stage.
00:45When I hit Return I can see the text on the stage.
00:48So here I've some options.
00:50The first option in the Properties panel is to change the ID of this text.
00:54So this is just what the div is going to be called for right now, so I can change this
00:58to be RouxText, I'll hit Enter.
01:01And unlike Rectangles and Rounded Rectangles with text I can change the selector that I
01:06use for these different elements.
01:09So for text I can choose to use a Paragraph selector, an h1 selector or these other selectors.
01:16So if I made my textbox bigger or smaller notice that my text is not wrapping properly.
01:21Now that's a little bug in Edge.
01:23If you temporarily switch it to something else like a paragraph tag you'll see that
01:27it's not wrapping properly, and if you bring it back to a div it will still work properly,
01:32but when you first type in the text it's not behaving like it should.
01:35So that's a little tiny bug I found in the interface for right now, it's really no big deal.
01:40Now you can also change the Location of the text, the X and Y Position just like you would
01:44any other element as well as the Size, this will be the size of the box, not the size of the text.
01:50And you can unlink the Size and change the size for the Horizontal and Vertical dimensions separately.
01:56Of course, your Opacity works just fine and over here you can choose the Font Style.
02:00I like that when you roll over these different properties, it's actually showing you the
02:05code that you type in CSS to change these properties.
02:08So if you go say over the Pixel Size or the Font Size you could see that it's going to
02:12change the Style to be Font Size 24 pixels, that's kind of cool.
02:16So here I can change the font to something else, and this is exactly how you would do it in CSS as well.
02:21You would type in the font as well as some fallbacks so I could switch it to Arial Black,
02:27and that's looks pretty good.
02:28Of course, I can also change the Point Size, and we'll make that bigger or smaller.
02:33I can change the type of measurement system I used to ems, and sometimes this gets a little
02:38weird when I switch it ems.
02:40Notice that it switch back to 25 pixels, this is a little problem in the program.
02:45So now the pixel amount doesn't exactly work well, notice that I'm clicking and dragging,
02:50and it's going very slowly through the Measurement Systems, and it never lets me get back into
02:56ems, and that is a little bug in the program.
02:59If I go ahead and close this, so I'm going to go ahead and FileClose.
03:03I'm not going to save it, and I'm going to create a New document.
03:08I'll type in Roux Academy.
03:10Notice that it is still messed up so this is still not working properly.
03:14The only way to currently fix that for me is to go ahead and quit the program, so you
03:19might have to do that occasionally.
03:21So I'm going to quit Edge and restart it. Create a New File, and I'll type in Roux Academy,
03:32and now I can switch to ems, and now it's working properly.
03:36So you got to be really careful with text, it's probably one of the things that's needs
03:40a little more work in Edge.
03:42So of course, I can the Font Color right here and the text, either the font-weight here
03:49to make it Bolder or the font-style here to make it Italics or the text-decoration, so
03:56makes it look underline.
03:58If you click on these Alignment buttons, you'll see that nothing is happening, that's because
04:02my textbox by default is the width of my element.
04:06So if I want to see the Alignment I have to make this bigger, and then click on Center
04:10and Right align, so just watch out for that.
04:14Transform Origin, you can change right here just the location of the registration around
04:19which things rotate.
04:20It's always easier to just click on the Transform tool and just reposition this registration
04:26point by clicking and dragging it where you want it, and then you can rotate around that point.
04:31Of course, you can rotate right here as well by typing in a value, and I like being able
04:36to type in values manually.
04:38You can also Skew the text to try to get some maybe 3D Effects and let me try kind of link this.
04:47And I can unlink these if I want to scale couple of different ways, so sort of kind
04:53of a 3D Effect I guess.
04:56That works really well. I can also change the Cursor.
04:59So if I preview this you'll notice that the Cursor by default will be this Regular Text Selection tool.
05:05If I want it to be something other than that, I can click on this Cursor area and switch
05:10it to something else, like a Pointer, and that might be better for making something clickable.
05:16So now when I roll over the text it becomes a little hand pointer.
05:19You can still select the text, it gives you a different tool right here for the way the cursor looks.
05:24So I'll close that come back here.
05:27And finally, I also have a Clipping Path that I can use.
05:29This is a Clipping Path that clips the text in a rectangular manner, and adjust this one.
05:38When I do that it sort of locks the size of the text a little bit, so now when I click and
05:43drag on these edges I am resizing the text almost as if I was working with this Transform tool.
05:49If I want to change the Font Size, it still works within the box itself, but it sort of a little odd so.
05:56Now I'd like to see some other things happen with text.
05:59Notice that there's no line height.
06:01So if I've text on top of one another I can really control the line height between them.
06:06So oops! Let me type in Roux Academy, and I'll make this box kind of like this.
06:13It looks like I'm on the Clipping Path tool right now, so I don't want to be there.
06:17Let's try Pointer tool.
06:20It's not stacking this properly, so I'll switch over to Paragraph really quick, and then bring it back.
06:26So you notice I can't really control the spacing between the two lines, which is a little unfortunate.
06:31Text seems like it has a way to go in Edge.
06:34Some things aren't working properly yet, and I'd like to see line height and other adjustments
06:38for better typography using Edge.
Collapse this transcript
Using custom fonts
00:00A really cool feature in Edge is the ability to use custom fonts by adding the font into the Edge library.
00:06You can use fonts from services like Google Web Fonts. So let's take a look.
00:10I am going to create a new document by clicking on this Create New link, and then I'll click
00:14on this Text tool, click on the Stage, and type-in some text.
00:18I can choose fonts from a couple of different places.
00:21I can go over here to this pop-up list, and add a new font by clicking on this Add Font
00:26link, and add a new font by clicking on this Add Font option.
00:30This takes me to this dialog box.
00:31I can do the same thing by going to the library, and clicking on this Plus (+) sign, takes me to the same place.
00:36Here, I need to type-in the name of the font that I want to add as well as some fallbacks
00:41just in case the user cannot see the fonts at the moment, he might be offline, for example,
00:46and then some embed code that the web site will provide.
00:49So, I'm going to switch over into Safari, and you can find fonts by going to google.com/web fonts.
00:56Google has a number of fonts, there is about 500 families right now.
01:00And you can search by different categories like Serif, Sans-Serif, Display or Handwriting,
01:04or you can look by specific features like Thickness.
01:08So, I'll click on that and find some thicker fonts.
01:11I like this Russo One font.
01:13So I am going to add that to my collection by clicking on this blue button right there.
01:18Once I got a font in my collection, then I can click on this Use button which will take
01:22me to the font styles.
01:24Sometimes fonts have multiple styles, so you can click on and off the styles that you want,
01:28the more styles you load, the bigger the page will be and the slower the page load.
01:33So, I want to scroll down and go to this Add this code to your web site section and just
01:38select that, copy it, switch back to Edge, and paste that in the Embed Code section.
01:44Now, over here, I want to type-in the name of the font.
01:47If the name of the font has a space as in Russo One, I want to make sure that I type
01:51the name in quotes, so "Russo One".
01:56So, I want to click on this pop-up menu and just select some different fallbacks just
02:00in case the user can't see the font that I've chosen.
02:03So, I'll do Arial Black, Helvetica, and sans-serif.
02:07So now, I can click on this Add Font button right here, and it adds it to our library,
02:13and it also adds it to our pop-up list. Here it is at the very top.
02:15So, I'll choose that, and you can see that font that I brought in from Google shows up just fine.
02:21Now, there is a way to also add fonts from Typekit.
02:24But as of this video, it's a little bit buggy, and it doesn't work consistently.
02:29Working with fonts is easier right now if you use Google Web Fonts.
02:32I like a lot of the fonts available from Typekit.
02:35But integrating them into Edge is a little bit troublesome right now.
02:38So, I look forward to some better font integration in a future release of this application.
Collapse this transcript
Working with imported assets
00:00As of this release, Edge doesn't offer comprehensive drawing tools.
00:05It does however let you import graphics in GIF, JPEG, PNG, and SVG formats.
00:11So let's take a look at how Edge deals with external art.
00:13So first, I'm going to create a new document, and then I'm going to switch over to Illustrator
00:17to show you this artwork that I want to bring into Edge.
00:20So normally the quickest way to move graphics between programs is to just copy and paste,
00:25but Edge doesn't yet have solid support for copy-paste.
00:28So to get graphics into Edge, you'll need to use some other software and export.
00:32So usually to export files from Illustrator for the Web, you go to the File menu and select Save for Web.
00:38Now this is going to allow you to save in a number of different formats, including GIF, JPEG, and PNG.
00:44It's not going to let you save an SVG, we'll cover that in just a minute.
00:48So GIF is an older format for online graphics.
00:51It has 1-bit transparency and, like some of the other formats, it can have built-in animation.
00:57And for that reason, Edge uses GIF graphics for its preloaders.
01:01It builds pretty small files, but the quality is always poor since it only supports 256 colors.
01:07You can see some of the problems here with the banding and also the disappearance of
01:10out of the Space Needle as well as the fact that only one color is transparent.
01:16I have Transparency on right here, and because I have that on, one of the colors in the image becomes transparent.
01:22However, it doesn't let you see through any of these other colors right here, which is what we really want.
01:27So if we switch it over to JPEG, JPEG is a bitmap graphic format for photographs.
01:32It has no transparency options.
01:34If you need to import a graphic into Edge with transparency, you're going to need to use PNG or SVG.
01:40Although you can use GIF files with transparency, because it only allows you to use one color
01:45as a transparent color, it's not a very good option.
01:48JPEG is a lossy format, so changes are made to the original image to get better compression.
01:53You can see some of the problems with little bit of the artifacts that appear with JPEG files now.
01:58I've exaggerated this quite a bit by setting the Quality to 0.
02:01If we went all the way to 100, you wouldn't see a lot of that except that the file size will be pretty big.
02:07So usually you change the Quality to some other level, and that does add a little bit of the artifacts.
02:12So JPEG is a better format for photos and not artwork with a lot of colors.
02:17So let's switch over to PNG and see some of the options.
02:19You see we have PNG-8 and PNG-24.
02:22PNG-24 is better for images with some transparency.
02:26So you can see here we have a very nice blend into the background because it has 8-bit transparency
02:32which looks really great.
02:34We're getting this nice blend right here of the Space Needle with this color background.
02:38And everything looks great, so PNG is going to be the format that you want to use for
02:42artwork with a few colors.
02:44If you're using photographs, you usually use JPEG. So let's go ahead and hit Done.
02:49I'll show you the SVG export options which you can't find in the Save for Web option under File.
02:55You have to go to Save As.
02:57You would think it's export, but it's actually Save As.
02:59Let's check that out.
03:01So here, we can choose the Format from this pop-up menu.
03:04Usually, it's Adobe Illustrator, but you want to pick this second SVG format, not this SVG Compressed format.
03:11And from here you want to hit the Save--I'm just going to put it on the Desktop--and you'll get these options.
03:16You will want to keep it at SVG 1.1 and the defaults are pretty much fine.
03:21So I'm going to hit OK, and it will save that graphic to the Desktop.
03:25So now I'm going to go back into Edge, and I've already saved all those files in the
03:30different graphic format, so I want to bring them into Edge and show you what they look like.
03:34The easiest way to bring graphics into Edge is just by dragging and dropping them, so
03:38let me go ahead and add actually the GIF file format first, and I'll just drag it over there.
03:42As soon as I bring that over, it adds it into the library.
03:46Now this image has a little bit of transparency, but I can't see that because my background is white right now.
03:51So I'll change the color of the background-- I'll just click on the background, and then
03:54click right here--and I'll make it something kind of blue and dark.
03:59So you could see here if I select the image that part of this image is actually transparent,
04:03but it's not particularly useful transparency.
04:06So I'm going to scoot that over and put it on the side so we can see how the other formats compare.
04:11So we'll bring in the JPEG file next. Just drag it over.
04:14You can also go to the File menu and select Import.
04:17It does the same thing. And I'll make that smaller.
04:20You can see that the JPEG format has no transparency, and there's a little bit of the artifacts
04:25and banding that you expect when you use the JPEG format.
04:28So I'll make these about that big, and then we can drag them together, try to fit them
04:34as best as can side by side there.
04:36Okay, so let's bring in the PNG format. So just drag it in there.
04:41You can see the transparency looks beautiful. Quality of the image is really good.
04:46So this type of image just lends itself really well to using a PNG format.
04:51Now let's see what happens when you bring in the SVG format and compare it to other formats as well.
04:58So I'll drag that in and notice it's also adding them all to the assets.
05:02So it looks really just as good as the PNG format.
05:06The one difference is that this is a vector graphic, so vector graphics are theoretically
05:11scalable to any size as long as the original images in the vector graphics were made with
05:17vectors, which these were.
05:18However, Edge has a little bit of a problem with SVG files.
05:22If you scale an SVG file up, it's actually going to show a little blurry.
05:26You could see that right there, let me make it a little bigger.
05:28You could see that it's not as smooth, and it's looking a little bit blurry as if it
05:33were a low-resolution.
05:34Now that shouldn't be happening because that file consists of vector graphics.
05:39So it's a problem with Edge.
05:40I think it's something that they're going to fix in one of the next releases.
05:44So for the time being, if you want to bring in a graphic, make sure you bring it in bigger
05:48than what you need it. So that if you scale it down, you can get it looking good at any size.
05:53So let me go ahead and scale this down. And now let's go ahead and save this file.
05:57So I'm going to go to the File menu and select Save As.
06:00I'm going to click on Desktop, and I want to always make a folder when I'm saving things
06:05in Edge because Edge will generate about ten different files and folders and so I don't
06:10really want to put them on the Desktop.
06:12I want to first go ahead and create a New Folder here, I'll call it import, Create,
06:17and then I'll call my file index .html, and then I'll hit Save.
06:21So now that creates a bunch of stuff in our folder.
06:25Notice that when you import images into the library, Edge places them in an images folder
06:30and all the files that we imported into Edge are right there.
06:33This is actually really cool because you never have to worry about making sure that these
06:38files are somewhere in a specific folder.
06:41Edge is going to automatically grab all the originals and put them all in the images folder for you.
06:47So you don't have to worry about missing links and stuff like that.
06:50So let's go ahead and publish this so we could see what it looks like when we're published.
06:55So Publish, and we'll go to the import folder that we created and here's the publish folder.
07:01If we open that up, there's the web folder, and you'll see just the copy of all the files.
07:06Our images folder is right here as well and all of our images look really good and are
07:13in the right place.
07:15Now once you have an asset in the library, you can drag an additional copy of that asset onto the stage.
07:21So if I want another copy of my buildings that are PNG, I can just drag another copy
07:26from the library and have a clean new copy that I can do stuff with.
07:30This is also pretty interesting, under Properties, you can determine whether an imported image
07:36appears as a div or an image.
07:39So it's just the way that it's going to write the HTML.
07:41It's either going to create this as a div with a background or an image tag.
07:46So you can delete assets from the stage by just clicking, and then hitting the Delete button.
07:52That retains the graphic in the Assets folder.
07:55So even though I delete the GIF document from here, you can see that it's still right there.
08:00You can swap the version of the assets that's been used by an element on the stage pretty easily.
08:06So if I wanted to switch this asset from using the JPEG file to using the PNG file, I can
08:11click on that asset, and then click on this little icon right here and switch it to a
08:15different version of the asset.
08:16So I'll switch it over to the SVG, and then I'll just click somewhere else, you could
08:20see that it applied the SVG graphic onto this element as well.
08:23So I can switch all of my graphics to another format pretty quickly.
08:28Now you can also copy and paste between documents.
08:31This is a new feature in this release.
08:33So to get to another document is a little weird because you're probably used to the
08:37tabbed interface, additional files appearing as different tabs.
08:40Edge doesn't do that.
08:42If we create a new document, the document sort of takes over the tab right here, but
08:47there is a pop-up menu where you can switch to another file.
08:51And as you keep on opening files, you'll just see them in this list right here.
08:55So I'm going to switch over to this and notice that I can grab this file, I'll copy it, and
09:01switch back to the new document, and I can hit Paste, and it brings in the graphic into
09:05the Assets folder as well.
09:07I don't really mind that Edge doesn't offer drawing tools, I'm really comfortable drawing
09:11things in Illustrator or Fireworks, so I don't really miss being able to draw in Edge at all.
Collapse this transcript
3. Animating with Edge
Understanding Edge animation
00:00Experience with other timeline programs is really useful when working with Edge animations.
00:05However, animating within Edge means you will be working in JavaScript time, moving DOM
00:10or Document Object model elements.
00:13You'll also be introduced to a new way of animating elements with something called the Pin. So let's take a look.
00:18So, when working with Edge, it's always useful to remember that Edge is an online animation tool.
00:24The way you do things in Edge is tied to the way you do things with CSS and JavaScript.
00:28A good example of that is animation.
00:31Edge doesn't use frames as its unit of measure like Flash, it uses milliseconds because that's
00:37how CSS and JavaScript work.
00:39So, the timeline measures things in milliseconds.
00:41If you click on this right here which is the playhead, and you move it around, you'll see
00:45that you're moving in units of measure that are in thousandth of a second.
00:50So, I can scoot this round and over here, we are moving to 00:01:000.
00:54So, anything in Edge is done in milliseconds, much like what happens in CSS and JavaScript.
01:01The elements you move on the stage are divs or other selectors that get animated and layered
01:07according to the structure of an HTML page. The structure lives in the Elements panel.
01:12So, you could see that I can turn the box that's behind that text on or off.
01:16If I move this to the top of the title, you'll see that now the box is on top of the title.
01:22I can also do things like move the title inside the box, so they're kind of grouped together and move together.
01:28So, you could see that there's now a hierarchy right here, and that's what would happen
01:32if you were creating an HTML document.
01:34Now, one of the things that you do have to watch out for is when you click and drag things,
01:38you have to make sure that if this is an element inside another element, that you're choosing the right item.
01:43So, take a look at the Timeline here. I have right now selected just the title.
01:48So if I click and drag, I'll move just that.
01:50If I click on the box, I can move the box with the title because the title is inside the box.
01:56You could do selections within the Timeline like this or do selections within the Elements panel.
02:01You can also select things directly on the Stage, but sometimes that's a little bit tricky,
02:05because you don't know whether you're clicking on the title or the background.
02:09So, I just clicked on the screen here, and it actually selected the title, not the box.
02:13So just watch out for that.
02:14In that case, I would just click on this box to make sure I'm moving these two elements together.
02:18So, as I said before like with other animation tools, Edge lets you use keyframes and time
02:24to control how an animation works. But Edge introduces a revolutionary workflow.
02:29It can be tough to understand at first, but makes animating super fast.
02:34Central to animating within Edge is the concept of the Pin.
02:37Traditionally, when you want to animate an object, you specify the beginning and ending
02:42point of the animation and ask software to draw the steps in between the two points.
02:46The Pin allows you to create entire sequences with just a couple of steps.
02:50You can activate the Pin in a number of ways, you can double-click on the playhead, that
02:55brings you this tiny little icon, that's blue right here.
02:57You can also see that you get this additional time measurement right here.
03:02And as you move the Timeline, you'll see that this measurement also tells you the difference
03:06between the Timeline or the playhead and the Pin.
03:09The Pin is also an icon on this panel, so you can toggle it on and off like this.
03:13Finally, you can also hit the shortcut which is the P key.
03:16So, if we hit P, it will unpin the Timeline.
03:19Now, what's kind of strange about the Pin and the Timeline is that they're not tied
03:23to any object on the stage.
03:24So, if I have an object selected like this box, I can set the beginning and ending position
03:29of the animation by double-clicking and moving the playhead to the left or the right of the Pin.
03:36That doesn't mean that I am doing anything or setting an animation for this object.
03:40I can simply click on another object if I want to animate it.
03:43It's just setting the beginning and ending points of my animation.
03:46So, once you've pinned the playhead, you tell Edge that you want to animate something whose
03:51position will be pinned at this marker.
03:53You then move the playhead to another position to establish what's going to happen before
03:58or after this Pin position.
04:00So, if I want to create an animation that makes this text with the background slide
04:05in from the left, what I am going to do is click on the playhead, and drag it to the left of the Pin.
04:10This position is the Pin position, and it looks like I need to make sure that I'm on
04:14the box, not on the title. I really have to watch out for that.
04:18So now I am going to click and drag the box and title to the left, and now I've created
04:22an animation in just a few steps that goes from the left to the right of the screen.
04:27Let's move the playhead.
04:28I'll double-click on the Pin to unpin the current playhead and scoot over to the right-hand
04:32side, and now I am going to make an exit animation for this right here.
04:35So, it's just going to go to the right.
04:36So, what I'll do is I will double-click on this to pin the playhead again, and I've pinned
04:41this position, so I can say, I will move the playhead away from the pin position, and then
04:47I'll move this object to the right.
04:48So, what that does is it locks in the beginning position, and since I move the playhead to
04:54the right, it's going to animate to that right position.
04:57So very quickly I created an entry animation and an exit animation by creating the Pin.
05:02The Pin is independent of this animation, so notice, I can move this pin around if I
05:05want to, and use it to animate something else.
05:08So, if you're animating a bunch of objects, this is a really quick way of getting things done.
05:13So, the concept of pinning things is really powerful, but it does take a while to get used to.
05:18So make sure you practice animating with the Pin a little bit.
05:21Once you get used to it, other methods of animating keyframes might begin to seem a little antiquated.
Collapse this transcript
Working with keyframes
00:00Once you've got the concept of pinning down, its time to talk about some other ways Edge animations work.
00:06We'll focus on different ways to create keyframe based animation, so let's check it out.
00:11Although the pin is a slick way to create animation tweens, it's not the only way.
00:15You can animate any attribute that's available through the Properties panel.
00:18So here is our animation sequence, I'm going to come over here and create a little bit
00:23of an Opacity tween by using keyframes manually.
00:25So I'm going to position my playhead right here, and I'm going to click on this Box to
00:29make sure I select the box that has these two elements.
00:32And I will make this Opacity right here 0.
00:37And that create a keyframe right there that's the Opacity for that position.
00:41I'll move the playhead over here, and then I will click on this little diamond to create
00:45another keyframe, move the Opacity to 100.
00:48So now I've created a sequence by using keyframes that let's you see the box moving as well
00:53as changing Opacity.
00:55So let's add another keyframe for rotation, so we'll make the words actually rotate into position as well.
01:01So I'll come over here, and I will click on this Rotate diamond on the Properties panel
01:06to create a keyframe right there, you could see it appear down here.
01:09And then at some other position say like right there, if the property is already down here,
01:14you can create another keyframe by clicking right there.
01:17And so here I will change the Rotation to 720.
01:20That should make it rotate a few times, looks like I messed up.
01:24You can always double-click here and just type in 720, and that fixes it.
01:28So if I move that you could see that it rotates into position until this point, and then it
01:33kinds of slides into place.
01:35So you could move that rotation around by clicking and dragging this, so now it'll slide
01:39in first, and then it will rotate into position towards the end, so that's pretty cool.
01:44And it's still a good way of doing animations, there is nothing wrong with keyframes.
01:48So another way to animate elements is through instant transitions.
01:52Can turn this icon on and create transitions that don't have tweens.
01:57Let's say that we want it to blink the Roux Conference element, so we want to blink this
02:02box and just give it a different color.
02:04We don't want it to be a blink that fades in and out, we just want it to be an instantaneous
02:08change to a different color.
02:09So you do that by turning this on, and then creating some keyframes for some type of change.
02:15So I'll do that on this background color, I'll create a keyframe right there that will
02:20be a background color change just to lock the original background color.
02:23And then I'll move to another position, I'll create another keyframe, and then I'll come
02:27over here, and I'll change the color to something else.
02:31And you can see that now as I scrub my Timeline, the background color is that blue, and then
02:37when it gets to this point it switches to another color immediately.
02:41There is no tween right here, so it's an instantaneous change.
02:44If I wanted to just do a blink, I am going to go ahead and undo that a few times and
02:49what I could do is also create my keyframes all at once, so I'll create a keyframe there
02:54and another one here, and then I'll just scroll back into this position and change the color
02:59to whatever else I want.
03:01Now I have instant transitions from here to here to here.
03:04So you can always move those little points around to make that little blink happen a
03:08lot quicker and just hit the Spacebar to see how that blink is working right now.
03:11So it rotates, blinks just for second, and then it moves out.
03:14So that's pretty cool.
03:15Make sure you turn that off that can be a little annoying.
03:18This option right here also will allow you to turn off Auto-Keyframe generation, because
03:23if you've got an object at a position, and you just do something to the object, say you
03:27move it, it actually starts creating a tween for you automatically.
03:31If you unclick this, then when you move something it's not going to create any keyframes, it's
03:36just going to move it temporarily, so you could do a few things to it, and then add
03:40the transition or add the tweens after that.
03:42So I'm going to undo that just to leave it like it was.
03:45So I got this thing moving in, rotating into position, and when I rotate out I'm going
03:50to add a anticipation sequence, I'll add a little bit of a rotation going the other way
03:56before I go clockwise.
03:59So I'm going to add here a rotation keyframe, and then I'm going to add another one right
04:05here and then another one here.
04:08It's for my ending position, so what I'm going to do is when I'm here it's going to animate
04:13to a position here that's rotated the other way, so back a little bit this way so that
04:19creates the tween right there.
04:21So it is sliding, so I don't want it to slide during that time period that it's moving back.
04:26So all I have to do is change this Translation keyframe.
04:28I can just click and drag that over here, so it'll stay put until it finishes rotating.
04:34And then when it moves it's going to move just like that.
04:37I want a more dramatic transition here so I'm going to add some rotation here, and let's do one more 2880.
04:46And so when I scrub that, this thing has a little bit of an anticipation sequence, and
04:51then as the animation happens, it rotates to the right.
04:54Let's go ahead and add some Opacity to that just to fade that out as its rotating out of position.
04:59So again just click on a keyframe here, click on another keyframe here and move back to
05:05this position make sure we change the Opacity to 0 right there.
05:09So you can change the Opacity also directly from the Timeline.
05:12And let's take look at that animation now, so it comes into view, blinks, and it has
05:17a little bit of an anticipation sequence here. May be I need to expand that a little more.
05:22You can move these things around by clicking and selecting a group, and then scooting them over.
05:28And then I will move this, this way you. Notice that they're moving in proportion.
05:33So this is just going to be a slower transition now since I've got them selected.
05:37You might be rotating a little bit too much.
05:39There is not enough frames for it to rotate that much.
05:43So what I could do to is if I click and Command+Click on some keyframes.
05:48Then I can move those keyframes at the same time.
05:50So let's see if adding some keyframes to this will make it a little better.
05:55So ta-da!, okay that looks a little better because it has a few more frames to draw that
06:00transition of it rotating like that, so let's take a look at it.
06:03You can also control the animations with these Timeline buttons here, so I'll back it up and hit Play.
06:09So its looks pretty good, really good sequence, and I did that all with keyframes.
06:14So remember that pinning is not the only way to animate, you can still use traditional keyframes.
06:19I think keyframe is useful for some things, especially things like building some of these instant transitions.
06:24Now before I'll go I wanted to show you one more thing.
06:27Let's come back here and the fact that the word march is there at the beginning kind of troubles me.
06:32So what I want to do is create a keyframe for this property right here called Always On.
06:36So by default every single element in the Timeline is going to be on at all times, and
06:41you may not want that to happen.
06:43So I change the property of an element, and I want to click on this march 2012.
06:47If I want to go ahead and collapse this I can collapse like this with this triangle
06:52and of course turn things on and off. Say that I turn this box off.
06:56This is just a temporary hiding of the view, if you actually preview this you'll see that
07:00the box is still there, and refresh that.
07:03This is kind of showing you the animation past the edge of the stage.
07:08To fix that make sure you click on the background where nothing else is showing and make sure
07:12that you turn the Overflow to hidden.
07:15So let me preview that again, and you could see that the rotation is kind of hidden, because this is clipping everything.
07:20I want to make sure that the March 2012 is not showing until a certain point.
07:24I am going to click on the March layer here, and I'll modify it from Always On to On at this position.
07:32That means that before this keyframe this object will be off, when it is at this position it's going to show up.
07:39So let me turn on my Box again, so that means that this will rotate, and then this will
07:46blink, and then this object will appear.
07:48So now that I've got it turned on I want to go ahead and fade that in, so I'll create
07:52a keyframe for Opacity scoot this over a little bit and create another keyframe for Opacity
07:58and just change the Opacity in this keyframe to 0, and that creates the tween that makes that go.
08:04And I probably want to make sure that at this point somewhere I fade it out.
08:09So a couple of other keyframes, Opacity, Opacity and change it to 0.
08:15Remember I can always do that from right here that creates the tween.
08:18So as this is snapping in anticipation I fade this out, and when it rotates.
08:25It's still there is just not showing up, so remember you can add another keyframe here,
08:29and then turn this element off at that position. So it doesn't exist after that position.
08:35Even though you might be doing less keyframe animation in the future, once you get used
08:39to the pin, it's still a valid way to do certain things, and it's a great way of setting up
08:43these kind of anticipation sequences.
Collapse this transcript
Exploring Timeline options
00:00So, before we go any further, I wanted to talk about some of the options available in the Timeline.
00:05There are a lot of little icons around the Timeline, so I wanted to talk about those
00:09and show you some of the options that you have here.
00:11So, starting here from the left-hand side, you can choose to show only the elements that you're animating.
00:17This will make your Timeline a lot smaller. So I am going to click on that.
00:20You can see that the background as well as the title are hidden when I turn that on,
00:24so that lets me see just the stuff that I'm working on.
00:27The next one right here is Timeline Snapping.
00:30If I don't have that on, the Timeline doesn't snap to certain positions.
00:33By default, it's usually on, so I am going to turn that on, and you'll see that when
00:38I reach certain points in the animation, my Timeline will snap to those points.
00:42So, half-a-second right here, three-quarters-of-a- second right here, and a second, and so on and so forth.
00:48You also have ways of zooming into the Timeline or zooming out right here by clicking these icons.
00:53And if you click on this icon, it will make the Timeline fit to the entire width of the window.
00:57So, I will click on that, and that's kind of cool. It takes the whole Timeline and puts
01:01it as wide as it can fit on the current window.
01:03There are a couple of other little things here.
01:05You may have noticed the Play, Rewind, and Fast Forward buttons.
01:09So, I can rewind by clicking on this, hit this button to play, you can stop it while it's playing.
01:15Now, one cool thing that you could do here is say that you want to see the animation from here on out.
01:20You can hit this Play button, and it goes all the way to the end.
01:24You can hit this button to return to the last play position and see the animation from
01:28that position that you had it previously.
01:30Again, always remember, hit the Spacebar to play animations as well.
01:34Remember, too, that each of these layers can be hidden from view or shown.
01:38So let me scroll and show all the animated elements.
01:42I can choose to hide certain things.
01:44This is not a permanent way to hide things.
01:46If you turn something off, when you preview it, you will see that it is still there.
01:51This is not permanently hiding something.
01:54In addition to that, you can lock certain elements, so that you're not able to move them.
01:59But again, they will still animate just like anything else.
02:02Notice that I have this box. And the title I can see inside the box. I can't see that
02:07in the Timeline, but I can see that in the elements when they're right here that my title
02:11is a little element that is within the box, and so if I lock the title, it means that
02:16I can't move the title within the box, but I can still move the box itself.
02:20So that's kind of weird about locking things. It doesn't permanently lock something, especially
02:24when elements are inside other elements.
02:27And of course, I have already shown you that these little triangles allow you to expand
02:30or contract certain elements so that I can see the options that I can animate and keyframe.
02:35There is also an option to add labels right here.
02:38So, if you click on this icon, you will be able to insert a label and type that into the Timeline.
02:44That is related to the way that you create actions for different elements.
02:48The scripting options are right here.
02:50You can insert trigger in the Timeline that does certain things.
02:53We'll talk about that more when we get into scripting in another movie.
02:56So, I think Adobe has done a really good job of making this Timeline super functional
03:01and something that's easy to work with and obviously a lot of fun to use.
Collapse this transcript
Easing with Edge
00:00In real life, objects never move at the same rate.
00:03Physical forces like gravity and friction speed basketballs towards the ground or slow
00:08down cars unless we keep on hitting the gas pedal.
00:11You can simulate those forces through a technique called Easing, and that's a traditional way
00:16of animating objects.
00:17So let's take a look at how you could do that with Edge.
00:20Here's an animation that I've created. It's pretty simple.
00:22I'll scrub it so you can take a look at it. So these words come in.
00:26They rotate a little bit, and they just stop right there.
00:30So let me actually scroll this up a little, so I can see it a little bit better.
00:33So, those words will come in, rotate and end right there, and then these words will appear,
00:38and then this will do an anticipation sequence, rotating backwards, and then rotates forward
00:43and gets out of the stage.
00:45So let's take a look at how we can improve on that by adding a little bit of Easing.
00:49I am going to do something here. I'll create a copy of this Box layer.
00:53So, right-click on this and select Duplicate just so that we could see a little bit of
00:57a difference between the different types of Easing that you can apply.
01:00So, all the Easing in Edge is applied through the Easing panel which is right here in the Timeline.
01:08So, if I click on an element like that, and I click on this Easing, I can apply a different type of Easing.
01:13Actually, I can go ahead and scrub the Timeline a little bit further, say, like right there
01:18so I could see the difference between this Box and this BoxCopy.
01:22And on this box right here, I am going to apply a Quadratic Easing Out.
01:26So, these secondary options here are how fast or how slow it's going to apply the Easing.
01:33One of the things that I like to do when I am working with Easing is I like to take the
01:36word Ease and change it the word Slow, and the word in and change that to the word at
01:42the beginning, and then out, and change that to the word at the end.
01:46If I ease in, I'm slowing down at the beginning of the animation, and I'm going faster towards the end.
01:52If I ease out, that's the opposite.
01:54I am slowing down at the end, but I'm being faster at the beginning, and that's how these animations work.
02:00So I am going to apply that quadratic equation.
02:02You could see that now these two boxes are different.
02:06So, the Box that is the copy that has the original linear easing is a little bit slower
02:12than this Box right here.
02:13So, I applied an Easing Out, that means it's going to be slower at the end, faster at the
02:18beginning, and you can see the difference here.
02:21If I scrub, you will see that they will both end up at the same position.
02:24And notice that this one right here that's in the front which is this Box one, it's actually
02:27slowing down as it gets to its ending position.
02:29The other one is a little bit faster towards the end, and that's exactly what we want to happen.
02:34So, let me go ahead and delete this one.
02:36I'm just clicking on that and right-click, and then selecting Delete, and now we could
02:41see the result of this animation.
02:43So, sometimes the results are going to be dramatic.
02:45You might have to change the length of this animation to see a more dramatic effect.
02:52So let's go ahead and do that.
02:53I am just clicking and dragging on the edges, and let's see, so now you could see a little
02:59bit of a slowing down towards the end.
03:02So that's actually pretty cool. Let's try a different one.
03:05Let's say that we wanted to put a little bit of Easing over here in our anticipation sequence.
03:11So, as I'm winding this the wrong way before I go this way and out, I want this to slow
03:18down, and then I want it to be slow at the beginning and fast at the end over here, so
03:23that there's almost like a little bit of a point at which nothing is moving.
03:27So, if you've watched any cartoons like Bugs Bunny or stuff like that, you know that they
03:32exaggerate some of these movements. So, see how we could do that.
03:35We will open up this box part right here to see all the individual transitions, and I
03:40am going to click on this segment here.
03:42Notice you can click on each one of these individual segments.
03:46I'll take that segment.
03:47I'll apply some Easing to it, and what I want for this one is I want it to slow down at
03:53the end when it's all the way wound up.
03:56So, I'll Ease Out, slow down at the end, Quadratic is fine.
04:00Some of these other options is control the speed that the winding happens, so you may
04:04want to try some of these.
04:05I'll leave it as Quadratic right there, and then I will click over here.
04:09So now, this will wind, and it will sort of slow down as it reaches its final position.
04:16Then I want to do the opposite right here.
04:17So, I'll click on that one, click on Easing, and I want it to be slow at the beginning, fast at the end.
04:25So, Ease In, Quadratic is fine.
04:28And so when I look at this--let's take a look-- I will see that it almost like stops right
04:33at this Timeline position, and you can exaggerate that just by making this stuff bigger.
04:38I'll click and Shift-click on this other one.
04:41So that's another way you can click right here, and then Shift-click right there, selects
04:43all of them, and I can expand this Timeline just to make that happen a little bit slower.
04:49So, this will wind up and go away.
04:52Usually, your anticipation sequence lasts longer than the actual animation.
04:57So I will grab these three different keyframes.
05:02I'm holding down the Command key, it would be Ctrl on a PC, and clicking on these keyframes,
05:06and then I can move those this way.
05:08Now, I am going to leave that gap there, because what's going to happen is it will move this
05:13way and it will just stay there for just a second and then it will go away.
05:17So let's took a look. Maybe that's a little bit too much of a gap.
05:21So I will just make the gap a little bit smaller, and maybe this could be a little bit shorter.
05:29So let's check it out. Now, that looks pretty good.
05:32I like the way that, that makes it have a little bit more anticipation.
05:37Anticipation is one of the keys to animation.
05:39So what I always say is anticipation is having the bread in your car before you get home
05:45and having that great bread smell that makes you just want to pull out the butter from
05:49the bags and start buttering up that bread and eating it before you get home.
05:53That's anticipation, and that's a really good thing that you can add to animation and Easing
05:58makes it--not necessarily realistic-- but a little more interesting.
Collapse this transcript
Working with symbols
00:00The ability to create symbols is a real integral part of any animation program, and Edge has
00:06its own implementations.
00:07So let's take a look at how Edge deals with symbols.
00:10So I am going to modify my file a little bit.
00:11I am going to hide this and show you that on the Desktop I have three different versions
00:15of that background where I have separated the different elements from the background.
00:20So I have just the background gradient, and then just the background buildings, as well
00:24as the foreground buildings. So I need to import those into my animation.
00:28I'll bring Edge back up, and I'll simply just drag and drop them into the Timeline, and
00:35there they all are.
00:36Actually, it looks like it just did one of them, so let's see.
00:40It looks like I just got the buildings, so let me do that again for the other ones.
00:44So here is the building background as well as this background right here.
00:48So I don't need this other background that's kind of like a combined version of all this, so I'll delete it.
00:54And I am going to need to stack these appropriately.
00:57The Box right now is behind everything, so let me scroll this up so you could see what's happening.
01:05So if you look at this scrubbing item, you can see that my building is right now, everything
01:09is on top of that Box. You need to have everything be behind the Box.
01:13So you may try moving this down here, but you may run into the problem where sometimes
01:18it's easy to put the Box inside the background.
01:21If that happens, just go ahead and move the Box on top, and the word March.
01:25It might be easier to grab these two and move them up than it is to grab these backgrounds.
01:30So now let me scrub this so I could see what's happening, and yep! Everything is working fine
01:34and is right on top of the buildings.
01:37My animation layers aren't stacked up properly.
01:39This is my background. That should be in the background, so I want to move this to the way back.
01:45And the buildings--let's see the buildings in the front are actually behind the buildings
01:51that are supposed in the back.
01:53So I'll stack it differently just by dragging these over.
01:56And then I just need to arrange everything in the Timeline.
01:58So I am going to scoot this background over a little bit.
02:01I am going to take this and just position it down here, and I'll grab my background.
02:08That one is kind of hard to grab, so I could just grab it from here and then scoot it over.
02:12Now my buildings right here are not exactly long enough.
02:15That's not going to matter because I am going to create a symbol to repeat this background a few times.
02:21So now we got that going on.
02:22What I want to do is animate the front buildings a little bit.
02:25Notice that I've drawn a few more buildings to the right of the original building, so
02:30my animation is going to start right here, and then it's going to animate into its ending
02:34position over here.
02:36So what I am going to do is set myself up an animation with the pin. And let's see.
02:42Let's go ahead and put it at the ending position right here.
02:46So now I'll double-click over here to pin that position as the ending position, and
02:51then I'll come over here, and I'll move the playhead over here, and then move the animation
02:56this way, so that this animation will play from here, and it'll end up right here at
03:01its final position. So let's take a look at that.
03:03I'll hit Command+Return or Ctrl+Enter on a PC. That's looking pretty good.
03:08Maybe it looks like I have a little bit of a gap right there.
03:10So just let me scroll down and yeah sure enough, didn't move this down far enough.
03:15So I'll move it down, and let me check that out again.
03:20So that looks pretty good. Maybe it's a little bit fast.
03:23So I'll close that out, come back here and just kind of expand this a little bit.
03:28So this animation happens from here to here.
03:31I'll go ahead and expand that somewhat, so it's a little bit slower, test it out.
03:35That looks a lot better.
03:37I don't really want this animation to happen right at the beginning, so I want it to start
03:42a little bit later, talking about the animation of the Box.
03:45So I can move the entire animation sequence by first clicking on that layer, select all
03:50these different animations on that layer and just scooting them over.
03:53So let me scrub here, and when that Space Needle is about to come up, I want that animation to happen.
04:01And when it falls into position right here, I want it to stop moving.
04:05So that looks pretty cool.
04:06I think maybe I need to move my March stuff around.
04:10So I'll drag these and move them over, and that will happen sometime like right there.
04:17So let's see. Let's put this one over this way. Oops! I don't want to do that because
04:22that will happen after it stops existing.
04:25So let's check it out. It's looking pretty good.
04:32So I want to create a movement for these buildings, but the buildings aren't wide enough, and
04:39I need to scoot these down a little bit. They are also kind of out of position.
04:43So what I could do is I could create a symbol, and then have that symbol repeat over and
04:47over, and then I can animate it so that it just moves at a different speed than the foreground,
04:52maybe a little bit slower.
04:54And it gives you a little bit of a parallax effect.
04:56So let's go ahead and do that. Symbols in Edge are really easy.
05:00All you have to do is right click on an element and then select Convert to Symbol.
05:06You can also click on Symbols right here.
05:09That will add a symbol that you either import, or you convert the selection to a symbol.
05:13So let's go ahead and do that. And I'll call this BuildingAnimation.
05:17So we'll double-click on that. So now we have a BuildingAnimation symbol.
05:23Symbols work in the same way in this program as in other programs.
05:26So if I click and drag in a symbol, and then put it in the Timeline, I'll see another copy
05:31of that symbol appear there. So this is just a copy of what's right there.
05:35If you double-click on a symbol, you enter that symbol's Timeline.
05:39Notice how everything grays out. And I have access now to this symbol.
05:44That Timeline can also be animated, so that is another pretty cool thing you could do
05:48with Symbols. And any change that I make here will also affect this other copy of the symbol.
05:53So what I am going to do is delete that copy of that symbol and then double-click to get onto this one.
05:59And what I need to do here is I want to make a couple of copies of this other symbol--make
06:04sure that they overlap really well.
06:06Let me just preview that to make sure-- yeah, there is a little bit of a gap there.
06:10So I'll just kind of scoot this one over.
06:13And it looks like when I came back, I am inside the Main Timeline, so I'll double-click to
06:19get into the BuildingAnimation Timeline and click on that and just kind of move it over
06:24a little bit with the arrow keys.
06:25So I am going to hit Command+Return or Ctrl+Enter.
06:27Looks like my gap is gone. That's pretty good.
06:30So I want those buildings to move, and again I'm back in the Main Timeline, so I need to
06:34double-click to get into this animation.
06:37I want to grab these two buildings and make a new symbol out of them.
06:40I need to select both of them, and I'll just right click and select Convert to Symbol,
06:46and I'll call this twobuildings.
06:50So now I've got twobuildings in the BuildingAnimation Timeline.
06:54If I animate this Timeline now, it's going to move those twobuildings along, and that's
06:58exactly what I want.
06:59So I am going to position my playhead over here, and I'll double-click to lock the position
07:05of the playhead, and then I'll come back, and I'll scrub the playhead to the left, and
07:10then move these objects all the way to the end.
07:12That creates that tween, and now I can see that tween with the buildings moving towards that position.
07:19Let's see how that looks.
07:20So we'll play it, and it looks like the buildings are moving.
07:22And that's actually pretty cool.
07:23I like how they're moving at slightly different speeds. I want to go ahead and slow them down
07:28a little bit further.
07:29So, once again, I'm in the Main Timeline.
07:32For some reason, Edge kind of keeps on snapping you back to the Main Timeline after you preview.
07:36So, you got to remember to double-click to get into this Timeline, and I'll just click
07:41and drag these over, so the animation happens over a longer period of time.
07:46I don't really need my playhead to be in pin mode, so I'll just double-click on that, and I'll play this.
07:53And I like the way the buildings are moving at a different speed.
07:57So I am going to do that even further.
08:01So I'll just go ahead and drag this over a little bit more.
08:04Actually, I'll just drag both of them over, so the twobuildings together, right here I
08:09could just grab this top Timeline and scoot it over.
08:11So let's try it out now. That's looking pretty good.
08:17Now if I wanted to keep that going, I could just keep on adding buildings to the right
08:21of those other buildings in the background.
08:23There's a better way of doing that with actions, and I'll be showing how to do that in another movie.
08:28So I want to show you something else.
08:29Let me go ahead and close out of here and go back in here.
08:32You may remember from something like Adobe Flash that it has different types of symbols,
08:37like button symbols or graphic symbols.
08:39And the graphic symbols in Flash can be made to automatically show the animation while they're moving.
08:47Now you only have one type of symbol in Edge, you don't have button symbols, and you don't
08:52have graphic symbols.
08:53But you can control whether or not a symbol that has an animation in its separate Timeline
09:00shows the animation in the Main Timeline.
09:03So I am going to go ahead and click on this button to just make the animation last the
09:08entire width of the screen.
09:11And then I'm going to show you over here how you can turn off the animation of this Timeline
09:18of these buildings in the background by clicking this scrub off.
09:21So when I scrub this, you'll see the buildings in the background aren't moving.
09:25If you click this on, then it shows you the buildings in the background moving.
09:30And that's something that's similar to the way that graphic symbols work in Flash.
09:34So you can choose here whether or not you want the symbols to scrub.
09:39Right now, I have the buildings in the front hidden, so that's why you're not seeing them.
09:43Scrub, the buildings in the background aren't moving.
09:46If I turn that on, then the buildings in the background are moving.
09:49Sometimes when your animations are really confusing, you may want to turn that on or off.
09:53So there you have it.
09:55Symbols are a great way of reusing artwork and also a good way of achieving certain animation effects.
Collapse this transcript
Exporting and importing symbols
00:00I wanted to show you a really cool feature about this new release of Edge.
00:04It has the ability of exporting and importing symbols.
00:08That's pretty cool, so let's take a look.
00:09So I've got a couple of symbols in this animation, this BuildingAnimation and these twobuildings
00:15which are inside the BuildingAnimation.
00:17So exporting a symbol is going to allow me to bring any of these symbols into a new composition.
00:22So I can right-click on these symbols and select Export to export them, and I'll just
00:27put up on the Desktop for right now.
00:29I'll call it buildings, and I am going to hit Save.
00:32Notice that you can save as the Edge Symbol File format which is down here.
00:36You don't have any other option, so that is going to create .eglib or an eglib file.
00:41So I'll hit Save, and if I look at my Desktop I'll see that we have an eglib file.
00:46Now this is pretty interesting. Let's take a look at that file in a text editor like
00:51BBEdit, and we'll see that this is actually a folder, and that folder encapsulates everything
00:56about that composition, including images that are within that composition.
01:02So it added inside that file that's also a folder a buildings_back.svg which is the assets
01:09or that building background in SVG format.
01:13So it's adding everything that belongs to this symbol into this file, and that file
01:17is actually composed of a bunch of different elements.
01:19So you can see right here, so that's pretty cool.
01:22When you want to import that into another document--I'll go ahead and create a new document.
01:26I'm just going to go to the Symbols here and hit this Plus sign, and then I'm going
01:31to select Import Symbols.
01:34And I'll go ahead and click on the new buildings.eglib file and hit Open.
01:39Now here is my Symbols. You could see that it not only imported the symbol that I exported,
01:44but also any dependent symbols. So these two building symbols also were imported into this composition.
01:50When I use that, all I need to do is just click and drag that over, and there are my two buildings,
01:55if I double-click on them I get into the BuildingAnimation, and if I double-click on this you will see
02:01that here's my twobuildings internal animation. So it's actually pretty cool.
02:05It's really doing a good job of encapsulating everything into a single file
02:09that you can use in other projects.
Collapse this transcript
4. Scripting Edge
Creating Timeline triggers
00:00Edge allows you to create scripts in a couple of different ways.
00:03You can create triggers that are attached to the Timeline or create actions that are attached to objects.
00:08In this movie, I'm going to show you how to create frame triggers. So let's take a look.
00:12So right now if you play this Timeline, I'm going to hit Command+Return, I'm on a Mac,
00:15so Ctrl+Enter on a PC.
00:17To see the animation plays in, we've got a little box that that says Roux Conference,
00:21it comes in, and then it leaves the screen.
00:23So the Timeline just plays from the beginning to the end.
00:26We have a separate symbol on the background that's animating the buildings at a separate speed.
00:29So I'm going to close that, and I will show you how to stop the flow of the Timeline.
00:34So if I wanted to stop the Timeline at a position after these words come in, then I can create
00:39a frame trigger by clicking right here in this diamond, and it'll create a frame trigger
00:44at that position in the Timeline. It goes in this special Actions layer.
00:48So I'm going to click right there, and it creates a trigger.
00:50Now from here, I can type in some JavaScript code to control the playhead, or I can just
00:55click on one of these presets.
00:56So I'm going to click on the Stop the timeline preset.
01:00Notice right now it says sym.stop. That means symbol.stop.
01:03It's going to stop the current symbol from playing.
01:06So we don't really need this.
01:08This is a comment, it typed in by typing in two slashes.
01:10So you can type one, and if you wanted to you could delete that.
01:13I'm going to close this out, and I'll preview this movie again.
01:16So I'm going to hit Ctrl+Return, and it's going to play words coming in, and then they are going to stop.
01:20I'm going to hit Reload by hitting Command+R.
01:23Notice that the background movie of the buildings coming in is in a different symbol, and it
01:29has its own Timeline, so it's not stopping when we stop the Main Timeline.
01:32So let me close that out, and I'll show you a couple more things about frame triggers.
01:36So frame triggers get this little icon at the position in the Timeline that I activated.
01:41I can move them around just by clicking on them, and then clicking and dragging on them.
01:44When I click on them, the little diamond becomes yellow like that.
01:47Once you have a frame trigger selected, you can also copy and paste it.
01:51So if I have it selected like that with the yellow fill, I can go to the Edit menu and
01:54select Copy, and then move the playhead to another position and just select EditPaste.
02:01So there I have another copy of that other trigger, and if I double-click on the trigger,
02:05I enter the trigger editing mode.
02:07So you could see that this is a copy of the original trigger that we created over here.
02:11To delete a frame trigger, all we have to do is select it.
02:14This one is already selected, and then hit the Delete key.
02:16Now our triggers can also send the Timeline to a different position.
02:20So instead of stopping the Timeline, I can also say something like Play from, and you
02:24can see here the explanation play the timeline from the given position in milliseconds or also a label.
02:31So let's play this from position zero, which would be at the beginning.
02:36So I will close this out, and whenever it reaches this position in the timeline, it's going
02:40to start playing again from position zero and sort of do the animation again.
02:45So let's try that out.
02:47You could see that the main timeline repeats over and over.
02:50Now notice the background timeline, because it's a separate symbol, runs independent of this timeline.
02:57So that's kind of cool. We can send that to any time in the timeline.
03:01As you can see, right now we're asking it to go to the beginning, but you could you
03:04type in whatever time we want in there, remember it's in milliseconds.
03:07So I am going to go ahead and delete this and set it back to stop at this position.
03:12So I'll close this out. Let's preview it.
03:15And now the animation plays, and it stops right there.
03:18So I like the way these buildings are animating in the background.
03:21It would be really nice if we could have that animation continue to play forever as if there
03:25were just an infinite amount of buildings animating in the background. So let's do that.
03:29What I am going to do now is I need to get into the timeline for this background symbol.
03:34Now the background symbol I know is back here.
03:37If I click there, I would be clicking on the foreground buildings.
03:40I know that if I click here, I can get to the background buildings.
03:43So let me double-click on that. Here I am in that Symbols timeline.
03:47Notice that it's an animation that plays from here to here, and there are two copies of these buildings.
03:52So I actually have a symbol call twobuildings.
03:55So let me double-click in here to get to that symbol.
03:58I have two copies of the movies, so one here and one here.
04:01So what I want to do is I want to animate this forever.
04:04If you look up here, I can see the structure of the animation.
04:08So right now, I am in twobuildings.
04:10If I want to back up one level, I am going to click on BuildingAnimation.
04:13This is very familiar to you, if you have used Flash before.
04:16So what I want to do is animate this timeline, so that when it reaches this position, it
04:20starts playing over and over again. So let me see how I could do that.
04:24I can create a frame action just by clicking right here, and I'm going to add an action
04:28that just says Play from, and I want to put in 0 right there.
04:32So let me close that out. And let's see what happens now.
04:35So we'll play, the front animation stops, back animation keeps on going, but there's
04:41a little bit of a jump, and that is because if we take a look at how this background is animated--
04:47and one of the things you have to be careful with Edge is that when you finish editing
04:53a symbol--so if I double-click to get in the symbol--as soon as I preview the timeline,
04:59and I close, when I come back, I am back in the main timeline.
05:04So don't forget that because it kind of freaks you out.
05:06You have to double-click back to get into the symbol that you were in.
05:08So let's take a look at what's happening here.
05:11My animation starts right here, and it ends over here.
05:16And if you look at the size of the background, my objects, my twobuildings don't quite exactly
05:23fit properly in that sequence.
05:26So if I look at where my building starts right here, you will see that it starts at this position.
05:30There is a black line right here. That's the edge of the visible area of my stage.
05:35But when I come all the way to the end, my building that's supposed to be at this position ends right here.
05:44Now if I try to take this--I'll move the playhead to this position, and I just move it out here.
05:49That's not quite going to work because I have a little gap.
05:51The problem is my art isn't wide enough to cover the whole screen.
05:56So what I am going to have to do is I am going to have to create a third copy of the symbol
05:58and put it over here, so that when I animate to this position, everything is going to look right.
06:04So I'll double-click right there to go into what's called twobuildings.
06:07I probably want to rename that into many buildings because I'm about to make a third building here.
06:13So I'm going to double-click right here and call it manybuildings and hit Enter.
06:18And what I want to do is make another copy, so I have one copy of the buildings right
06:21here, one copy of this symbol that's another copy of the buildings, here.
06:25And I want to create another one over here just so that I have this little piece repeating.
06:29So, the easiest way to do that is just to hold down the Option key and click and drag,
06:33that makes a copy of those buildings.
06:34If I hold down the Shift key, I'll constrain. When it's over here, I am going to let go.
06:37I can see that it's not quite overlapping properly.
06:40So I'll just hit the Arrow keys to the right a couple of times.
06:43And then I will click over here to make sure that it looks really good.
06:46So I'm going to back up to the BuildingAnimation.
06:49Now let's see if I scrub here, I have a building right at this edge, and if I go all the way to the end.
06:55I should have that same copy of that building here, and here's the new copy of that building
07:00that I put on the left-hand side.
07:01So let's check out that animation, and we'll hit Command+Return. So there you go.
07:07The buildings now look like they're going on forever, even though my foreground animation
07:12is being stopped by a frame action.
07:14So frame triggers are super useful for controlling the flow of the timeline.
07:18They're pretty easy to generate, but you have to remember that Symbols have their own individual timeline.
07:23That's actually kind of cool because you can generate some cool special effects once you understand how that works.
Collapse this transcript
Organizing animations with labels
00:00One of the ways so you can organize your timeline in Edge is by using labels.
00:05So in this movie, I'm going to show you how to work with Edge labels.
00:07So in the same way that we have an Actions layer, there's also a sort of hidden Label
00:12layer, and it is right here, right by this little triangle.
00:15So, the way that you insert a label is by just clicking right here whenever you want to add a label.
00:22So let's add a label at the beginning of our animation by moving the playhead to the beginning
00:26and then clicking right there. And I'm going to call this label start.
00:29So when this animation reaches this point, it starts rotating the text out of the screen.
00:34So I'm going to create a label right here and call it end.
00:36I want to bring a new animation into this sequence.
00:39So I've already created a symbol outside of Edge, and I'm going to import it into this composition.
00:45If you need to learn how to import and export symbols, make sure you check the movie on
00:49exporting and importing symbols.
00:51So I'm going to go over here to the Symbols panel and hit this Plus sign and select Import Symbols.
00:56I've got a symbol on my Desktop called SpeakerBox.eglib.
01:00So I'll double-click on that, and it will add it into the Symbols panel here.
01:04So, what I need do is add that symbol right in here somewhere in between the time that
01:10these words come in and the time that they start going out.
01:13So I'm going to need a little bit of breathing room right there.
01:15So, let me open up this Box layer right here, and this March layer right here, and I'll
01:21make my timeline a little taller.
01:23And I'm going to click and drag a selection box to select all of these points, and then
01:28click right here in the middle of this object and move it over just so I have a little more
01:32breathing room in my animation. Now, I need to move the label over.
01:36To move a label, you just click and drag it onto its new position.
01:40Now I need to insert the symbol into this sequence.
01:43So I'll just click and drag the SpeakerBox symbol and put it into our stage.
01:48There are our speakers that are going to be talking at this convention.
01:52So I'll put them right over here, and what I want to do is make sure that they don't
01:56exist when the movie starts playing because it doesn't really make sense for them to be
01:59there when I first start my movie.
02:01So to do that, I am going to go to the Properties panel and click on where it says Always On
02:05and switch it to On.
02:07What that will do is before this keyframe, the animation won't even exist.
02:12Now I need to create an animation that brings that or slides that in from the top.
02:16So what I will do is I will pin right here my Timeline by double-clicking on the playhead
02:22and then I'll move the playhead over to the left and then click and drag this animation up.
02:27So, that creates a little sequence that brings this animation like that into position.
02:33So I'm going to add some easing to this. So I'll click right here.
02:36Then I will click on this Easing button right there and make sure that we slow it down at
02:41the end or Ease Out and Quadratic is just fine.
02:44So now let me take a look at that. That slides in.
02:47So let's preview our animation and see what's happening right now.
02:50Something curious is going to happen.
02:52We're going to miss that part of the animation because we have a Stop action.
02:55Right here, we have a Stop action right when the words finish moving.
02:59So let me go ahead and close that.
03:01So this part right here of the movie will never play because of that Stop action.
03:05So we can also completely skip this area.
03:08So I could come over here and double-click on this and take this Stop action out.
03:12So let me do that right now, and I'll play the movie.
03:16So I'm hitting Command+Return or Ctrl+Enter on a PC, and it will play the whole thing.
03:20So the speakers come in and the words come out and the speakers are still on-screen.
03:26So let me do this a little bit differently. I'll click right here.
03:29Let me double-click to get that, and I will issue a command called Play from.
03:34So, Play from normally takes milliseconds, but it also takes labels.
03:38You could see it right here when you scroll down to the right, you could say milliseconds
03:42or labels when you specify a time for the Play function.
03:46So to specify a label, all I have to do is in quotes put in the name of the label that
03:50want to play. I'll call this label end because that's my label right here.
03:54I'll close this out, and let me play the movie right now.
03:57So when it reaches this point in the Timeline, it's just going to jump to this position.
04:01Notice that there is an animation that brings this down.
04:04Let's see what's happening right now when I play this animation.
04:07So, my words come in, and this appears on the screen immediately.
04:11It doesn't slide in.
04:13The reason that's happening is because when this animation gets to this point, it's going
04:18to skip the part of the sequence that scrolls that animation down and jump directly to this
04:23position where it's already on-screen and exit.
04:27So I don't really want that to happen.
04:28What I'm going to do is take this object and in this position in the Timeline, I'll go
04:33ahead and turn it off.
04:36So now we have a sequence that appears only right here, slides into view, and after it
04:43reaches that position, it completely gets deleted from the Timeline.
04:48So what that's going to do is just totally skip that piece where that animation happens.
04:53So let me go ahead and hit Command+Enter and take a look at what's happening now.
04:58So the words come in and they completely exit.
05:01So we've completely skipped this middle part of the animation.
05:04I'm going to label it because I might want to get into it later.
05:08So I'm going to come over here and create another label right there.
05:12I'll call it speakers.
05:14And now I can move my Timeline when something else happens to play that animation if I want to.
05:20So labels are more than just markers.
05:22You can use them to control the flow of the animation.
Collapse this transcript
Creating object scripts
00:00In addition to being able to create Timeline Triggers, to let our animation do things at
00:05certain points in the Timeline, we can also create object triggers or object scripts.
00:10Those scripts will execute whenever we perform an action on an object.
00:14So let's take a look. Let's play our animation right now.
00:16I'm going to hit Command+Return, and we see that we have an animation that brings some
00:20words in, and then the words exit.
00:22If we take a look at our Timeline, we'll see that we have some labels.
00:26Here's the start label, the speakers label, as well as the end label, and we have a little action right here.
00:31Right now, our animation is playing to this point, and then it's completely skipping this
00:35section that brings the speakers down.
00:38It's jumping to this end part where the Roux Conference logo just rotates out of view.
00:43Now remember that the background buildings are in independent timeline.
00:46So they're kind of doing their own thing.
00:47What we want to do is create a button that allows us to bring these speakers into view.
00:53So to do that, first I'm going to need to change this trigger right here.
00:56So I'm going to double-click on an end.
00:59So I'm going to change it, so it doesn't go to the end label, but it stops the Timeline from playing.
01:04So I'll hit Delete here.
01:05Actually, let me get rid of that comment because it's no longer relevant.
01:09And I'm going to click on this Stop the timeline button here, and it was to say symbol stop
01:14(sym.stop) and what that does is let me play the Timeline, Command+Return, Ctrl+Enter.
01:19So it brings the logo right here, and then it stops.
01:21So that's pretty cool. Now we need to add a button.
01:25So I'm going to scroll down a little bit, and I'll grab the Rounded Rectangle tool right
01:30there and draw myself a little rectangle on the bottom-left. I'll color it red.
01:35And then I'll put some words right here, see speakers, and I'll move it over here, color
01:43it white, make it a little smaller.
01:49And just to make it a single element let's take a look, see if it looks really good,
01:53and let's scoot it over a little bit that way, scoot the whole thing in.
01:57It's looking pretty good. And what I'll do is I'll make it into a symbol.
02:01So I'm going to select both of these objects, and then click on this Plus (+) sign and choose
02:06Convert selection to symbol. That makes it into a single element.
02:10I'll call it speakerbutton and hit OK.
02:16Let's take a look at how it's showing in the Timeline.
02:19So right now that speakerbutton is right here, and it's always on.
02:24So if I want to, I can make that just appear whenever we reach this point in the Timeline.
02:30So right here what I want to do is switch it from Always On to just On.
02:35That makes it not be viewable right here and just appear automatically when we reach this
02:40point in the animation.
02:42So the next thing I want to do is make that button have a script or an action.
02:48So to do that, I am going to go to where that button is right here at this layer, and I
02:53want to click on this script tag right here. So notice how it says Open Actions.
02:58So if I click on that, then what I could do is choose something from this pop-up that
03:03will trigger the action.
03:04So in this case, I want to make sure that when I click on this object, something happens
03:09and what I simply need to do now is choose one of the options from this menu right here.
03:13There are a lot of different options here. What I want to do is play from a specific label.
03:19So if I say Play from the label, I can choose one of these labels and the one that I want,
03:24the speakers, I need to put that in quotes of so "speakers", and I'll close.
03:30Whereas the timeline script appears in the timeline, the object scripts appear to the
03:34left of each object layer. So let's take a look at how that works now.
03:39So, this animation plays, it stops moving, and then this button appears, and I can click
03:46on it, and it'll play that animation. Now it's playing also the exit animation.
03:52So what we need to do is add another timeline trigger that stops that animation sometime in here.
03:58Now this is a little tight right there.
04:01So I'm going to click on this Display frame or keyframe and scoot it over, so that I have
04:06a little bit of breathing room, and I can put a Stop action right here somewhere.
04:11So over here, I am going to just create another keyframe or another timeline action there.
04:18So I'll click on this and on the next line, I'm going to click the Stop button, and I want to play this.
04:25I have an animation.
04:26When the log reaches its final position and stops, I have this see speakers button.
04:31When I click on it, the speakers come into view.
04:33That's pretty cool, and it's a pretty easy way of handling buttons.
04:37You might be bothered by the fact that my mouse switches to a selection icon when I
04:40am in top of that text.
04:41So what I could do is I need to be on the speakerbutton which is this button right here,
04:47and I can go to this Cursor section and click on where it says auto and switch it to something like the pointer.
04:53So I'm going to click on that and click away, and then Command+Return, Ctrl+Enter on a PC.
05:00And now when I roll over on this, I can see the pointer button, and if I click on it,
05:05my speakers come into view.
05:06So the combination of timeline triggers and object scripts gives you a way of creating
05:11awesome interaction features with Adobe Edge.
Collapse this transcript
Using the Code panel
00:00One of the new editions to this release of Adobe Edge is a new panel called the Code panel.
00:06It's a way to combine all the code for your project in one place, so let's take a look.
00:11Now normally the way you get to code in Edge is by double-clicking somewhere in the Timeline
00:15where you see a keyframe for a code, so here's the layer with all of the actions, if you
00:19see a little keyframe like this, you double- click, and it brings up a little Code panel.
00:23Now you can also access this when code is attached to an object by clicking right here
00:28on this Open Actions area right to the left of the current Timeline.
00:33So here's the Code panel for here.
00:34You could see there is the shortcuts on the right-hand side, now you can also access all
00:39of the code in your project by going to the Window menu and selecting Code.
00:43Now here you could see that we have all of the elements in our Timeline, and it allows
00:47us to see any code within the Timeline itself or any code that has been added as actions to objects.
00:55We can edit the code right here if we want to, and we can add code to other elements in our Timeline.
01:00This is a great view, because it saves you a lot of time, and it makes sure that it combines
01:04all of the code in a single place. There is a few options to this panel.
01:08So, for example, we can click on this button right here to display the code snippets that
01:13appear over here on the right- hand side, and that's pretty cool.
01:16You can also click on this button to edit the entire actions JavaScript file.
01:21This is one of the files that Edge creates for you, and you can edit it directly from right here.
01:25Just in case you want to do some custom JavaScript functions.
01:29So let's go and hide that, and there's a few other options right here under this pop-up menu.
01:34If you click on that you can change the Font Size from Small to Large, and you can choose
01:40whether or not you choose to show Snippet Comments.
01:43So the way that that works is if you add an element from this shortcut right here, and
01:48you have Include Snippet Comments on, you may see a comment appear at the top of each edition.
01:54If you turn that off, then it won't put the comment at all when you insert the new piece of code.
02:01So let me undo these changes here.
02:02So you see the Code panel gives you a great way of looking at all your code, accessing
02:07every single object, add code to an object, take a look at the JavaScript file that Edge
02:11generates with your project, and it has some additional options that make it a really nice
02:16edition to this prerelease.
Collapse this transcript
5. Backwards Compatibility
Using preloaders
00:00In Adobe Edge you can control what happens when the user is waiting for certain libraries
00:05to load, so we do that by playing around with the Preloader stage, so let's take a look.
00:10You can access the Preloader stage by making sure you don't have anything selected in the
00:14Timeline, so if we have a building right here, the Properties panel shows a contact-sensitive set of option.
00:19You want to make sure you are not on an object, and that shows the stage options.
00:25So from here we can click on this Edit button to Edit our Preloader.
00:29That takes us to a special stage, tells us right now we haven't set up a Preloader yet,
00:34but if we want to we can add a Preloader just by clicking on this button right here, and
00:39it'll insert some Clip Art, we can choose from one of these options, some of these bars
00:43or some of these rotation symbols, I'll choose this one right here.
00:47I'll just click on it, and then click on Insert, and it adds that graphic onto the screen.
00:52This is a very limited Timeline. You can animate things on the stage.
00:56This is a Preloader so you probably don't want it to be that large, and over here it's
01:00telling you how big the Preloader is going to be.
01:03So this one is going to be 8 kilobyte, once we add up the images as well as the JavaScript
01:07required to show the Preloader.
01:10We can add images from our assets if we want to, so maybe you can bring the buildings_background.svg
01:16(buildings_back.svg), I'll just drag that onto the stage, and that adds a little bit
01:20off-size to our Preloader, not that much because this is an SVG file so I can go ahead and
01:25scale this a little bit bigger just to make it cover up the screen, and maybe just put
01:29it down here at the bottom, while the rest of the libraries load.
01:33You can even add text, you can't really draw anything with the Rectangle or the Rounded
01:37Rectangle tool, but at least you can draw some text, and you can put in the word loading...please
01:44wait, and that's what Edge will show while it's loading some of the libraries.
01:49So you are not going to be able to see it that well when you previous this animation,
01:52but it will appear for a fraction of a second.
01:54Let's go ahead and hit Command+Return or Ctrl+Enter.
01:57So you'll see it there for just a fraction of a second, but if you are in a slow connection
02:03on a computer this accessing this animation you will be able to see that animation until
02:08the entire file will load.
02:10So this is meant to show that animation if a user is having problems or there are some
02:15delays when downloading some of the libraries that Edge needs to operate.
Collapse this transcript
Creating a poster and using the down-level stage
00:00In addition to the Preloader stage, Edge has another special stage called the Down-level stage.
00:06This is for people who do not have support for HTML5 options in their browser, so perhaps
00:12a browser like IE6 or IE7 or IE8.
00:15So to get to that stage, you go to the Down-level Stage area right here.
00:19You have to make sure that you're not on an object.
00:21So if you click on an object, you'll see that the Properties palette takes on the properties for that object.
00:27So you need to make sure you click somewhere else, and then click on where it says Down-level Stage and hit Edit.
00:32So this is what people will see if they don't have support for some of the features in Edge.
00:37Now this is a very limited stage.
00:39You don't have animation features, you can barely do anything.
00:42You can enter some text if you want to, you can import some images from the library, and
00:47one of the options is to also insert something called a Poster.
00:51So what you could do is tell Edge to take a screenshot of this animation at some point.
00:56So I'm going to scrub this into the place where maybe everything is showing right here,
01:02so this will be may be a good spot for a little screenshot.
01:05I'll leave my playhead right there, and then I'll click on this Capture stage as poster
01:10button and click the Capture button, and now a poster image has been captured.
01:15It's also been added into our library.
01:18So now if I go to the Down-level Stage, I can hit Edit, and I can click on this Insert
01:22button to insert the image that is a screenshot that we took.
01:26And you can of course, like I said, add some text to that or bring in another image altogether.
01:31If users don't have modern HTML5 support in their browsers, this is what they get to see.
01:36And it's not so bad, it's also an important thing to do if you're exporting to something other than HTML.
01:42So if you are doing some of the exports to InDesign or iBooks, you want to make sure
01:46that you have a poster frame, and that you have a Down-level Stage.
Collapse this transcript
Conclusion
Next steps
00:00I'm really excited to see that Adobe Edge is becoming an amazing program.
00:05Here's a couple of resources you can check online for some other ways of learning about Edge.
00:10So the best place to go to learn more about Edge is of course the official Edge web site.
00:14Adobe just released this web site at edge.adobe. com where you can find the latest version of Edge,
00:21get connected and engage with people about Edge.
00:23That's definitely something you want to take a look at and see some samples of Edge in action.
00:28I highly recommend clicking on Getting Connected and finding ways to connect in social networks
00:33like Facebook, reading the Edge Blog, or attending one of the forums.
00:37Now Adobe Edge is part of Adobe Labs, so you may want to check out that web site.
00:42It has not only Edge, but some of the other technologies that Adobe is working with.
00:47Now Edge works in a couple of core technologies that you should know more about.
00:51One of them is JavaScript.
00:52So I highly recommend Simon Allardice's JavaScript Essential Training as a course that you should
00:57follow up on after learning a little bit of Edge.
01:00Everything to do with scripting in Edge is done through JavaScript.
01:04So this is a great course that's going to give you core knowledge of how to use the
01:07JavaScript language. In addition to that, Edge includes to jQuery.
01:10So you should take a look at jQuery Essential Training with Joe Marini.
01:15So once again, this is Ray Villalobos, and I hope you continue to explore Edge as we
01:19get closer and closer to a final release.
Collapse this transcript


Suggested courses to watch next:

HTML5 First Look (4h 28m)
James Williamson

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


jQuery Essential Training (4h 9m)
Joe Marini


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 98,718 instructional videos.

start free trial 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 1,899 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.


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