Join Jake Ströh for an in-depth discussion in this video Importing and managing assets, part of Migrating from Flash to Edge Animate.
- View Offline
On the surface, importing images and managing those assets within Edge Animate may seem nearly identical to Flash. There are some key differences as to what you are really managing within the application and what is being managed in the background of your operating system's file structure. We'll begin by looking at how I've set up and managed Flash projects in the past, and then we'll create a new Edge Animate project and observe the project's file structure and what happens when we import and modify assets. If you open up in Chapter Two, the 02-02 folder, I have a Flash Project folder, and inside of here, this is typically how I would manage a Flash project.
I'd have an FLA folder, which would have my Flash authoring files. I have a SWF folder, for where I publish my Flash files. And if I were working to integrate my Flash files into a website, I may have my website files here. And then I would transfer my SWF files from my SWF folder into say, a media folder. And then these would be ready to be implemented inside of my HTML document. If you open up the animated-logo.fla file, you'll see that we just have this very simple animation.
How we manage assets in Flash of course, is we have to organize these things on our own by creating folders. How I typically have done this is I create Movie Clip folder for all of my movie clips, and an Images folder for images. And if I were working with say, button symbols, I would create a Button folder. Inside of our 02-02 folder, I'm going to create a folder for my Edge project, and I'll just call this, ProjectAssets.
This is where I'm going to save my Edge Animate file and all the associated files that come along with it. So I'm going to go to Edge Animate, and I'm going to create a new document. I'm going to change the stage size to be 600 by 400 to match the stage size of the Flash file that I just showed you, and now I'm going to save this file inside of the project assets folder that we just created. And I'll just call this assets.
And as you can see, now they are imported into the images library. And now when we look inside of our project folder, you'll notice that now Edge has created an Images folder, and inside of there are the assets that we just imported. And when you hover over the names of the images in the library, you'll see that the pathway to those images pops up as a prompt. So the next 'Im going to do is take some of the painting and drag that on to the stage and position it like so. And then I'm going to create an asset inside of edge animate by selecting the rectangle tool, and creating like a lower thirds box.
This light grey color is fine, but if you need to adjust the color, we'll do that right here by adjusting the background color. And then I'm going to dial the opacity down to 60%. Next, I'm going to grab the Samoca logo. And put that over the top of this lower thirds artwork that we've just created. I may resize this slightly by holding down the shift key and grabbing one of the handles in the top left corner. In Flash, when we want to get rid of or delete an asset inside of our library, we just select it, and in the library tab we have the trash can icon.
Here we have no trash can icon, and if I select say samoca-painting.jpg and hit delete, nothing happens. So to remove an asset from the library, we have to do this in a different way, and I'm going to remove this samoca-painting alternative. To do that, I'm going to go into my ProjectAssets folder and I'm going to trash it from here. When I go back to edge, I'll be prompt, do I want to reload the changed files. Well, none of these have been changed, I just want to get rid of the file, so I'll select No, and you'll see that the samoca-painting alt file is now gone.
Let's say, for example, that you wanted to update an asset in Edge Animate. To do that, if I had gone to say a image editing program like Photoshop and made some changes, I could either re-save that JPEG inside of the project images folder under the same name and overwrite it, or, if I am storing these in an assets folder, and I had made changes to say, samoca-painting.jpg, I could just do an option drag into the images folder, and my operating system is going to ask me if I want to replace this file or not.
Had I made changes to that file, I would be prompted to update that file inside of Edge Animate and the changes would be visible. Since edge animate is an HTML5 animation tool, the files created are structured as if it were a standalone website, which is very different from the self contained library in Flash, which is designed to collect all of the used assets into one compressed SWF file.
Jake Ströh explains how the web has evolved away from Flash, while pointing out key similarities and differences in Edge Animate that make migrating at times both smooth and challenging. He shows how to re-create a simple Flash banner ad inside of Edge Animate, walking through tasks that should be familiar to Flash developers, like keyframing parameters and working with symbols and nested timelines. Text, audio, and video work differently in Edge Animate, so Jake also spends time on those techniques. Then he'll work through the process of developing an interactive mobile prototype that accepts input from touch screens. When you're done, you should have the tools you need to migrate to Edge Animate and start building web projects that live up to modern standards.
- Understanding the history of Flash and the evolution toward HTML5
- Comparing the interface, keyframing, and asset management
- Re-creating a Flash project in Edge Animate
- Working with web fonts and CSS font styles in Edge Animate
- Working with HTML5 video
- Developing for touch screens
- Converting SWFs to HTML5 with third-party tools