Create an Interactive SVG with Adobe Edge Animate

DesignCourse · Intermediate ·📰 AI News & Updates ·12y ago
Skills: UI Design80%

Key Takeaways

Creates an interactive SVG with Adobe Edge Animate

Full Transcript

Hello, Gary Simon here, designcourse.com. Today we're going to experiment with SVG animations and this time we're going to use Adobe Edge Animate. And if you have a Creative Cloud subscription, you can install the Creative Cloud desktop app and you can install Edge Animate as a result. Just load that up and just click install and it'll install it real quick. Uh, and so yeah, what we're going to do is get started in Adobe Illustrator and we're going to use the designcourse.com DC lettermark and we're going to make some adjustments and then import it into edge animate and then create some mouse over and mouse out events to make it animate in between itself uh based on that cursor movement. All right. So, basically, if you need access to the project files, and you do if you want to follow along, uh they're available for free at designcourse.com, and you can find the link at YouTube in the description. All right. So, let's go ahead and get started. All right. So, uh go ahead and download the project files and there if you go to YouTube, uh you'll find the link directly uh from designcourse.com where you can download those files. Just requires a very quick free in registration. And once you have that open, you'll see here in Adobe Illustrator, we have the designcourse.com lettermark logo. So if you just select it, control C. We're going to go to file, new, and we're going to make the width and height 500 by 500 points. And hit okay. And then just paste that in the center there. And I'm going to scale it down just holding shift and alt right around there. All right. So, basically, when it comes to the animation here, we want to only work with two layers. This one and then one where we're going to duplicate this, except we're going to get rid of the fill, the blue fill here, and instead add a stroke. And then, when it comes to Adobe Edge Animate, we'll go ahead and transition between those two based on a hover on and hover out effect or mouse out and mouse on. So, for this first one, we're already done. All we have to do is just save this. So, control S or command S on Mac. And we'll switch to SVG. And I've already done this previously, so I'm just going to name mine pretty full. You can name yours whatever you want. Going to overwrite it. And then make sure SVG profiles is SVG 1.1. And then pretty much everything else here can remain the same. All right. And then what we'll do is just take this and if we switch to our fill right here, click on this in the swatches panel. If you don't have it open, just go to window and swatches. This little red slash will get rid of the fill. And then we want to switch to the stroke and give it this color, which is the same color as the fill. So, we're going to give it a stroke of 2 pixels and leave it right around there. And then also click on stroke and we're going to make this uh line stroke to the inside. All right. So now what I want to do is go ahead and go to file, save as, and this is going to be pre-outline. Yes. And okay. And that's all that we have to do in Adobe Illustrator for this very simple tutorial. So, let's go to Adobe Edge Animate. And if you don't have this, but you do have a Creative Cloud subscription, you can download that by going to the Adobe Creative Cloud Manager application. And what we want to do is hit create new. We're going to make our width 500, height 500. And this will match exactly the specs of our SVG files. So basically, let me try to drag this down and reorder things so we could see this whole area. All right. So, what we want to do is go to file and then import. Take both of those, hit open, and you'll see they're both placed on over here in our elements, which is basically equivalent of layers in Photoshop. And then also a timeline down here, which looks pretty similar to Adobe After Effects if you've ever used that. All right, so by default, it's just importing both of them. If we hit play and real quickly, if you want to preview this HTML document in the browser, it is control or command and Mac and shift or and enter. So, control enter. Let me bring this up. It loaded this up on another screen. Let me put this into place real quickly just for future reference. And this is our our two SVG files overlapped on an HTML document. And so, nothing happens at all. So what we want to do is click on stage and you'll notice our properties change. So your properties change based on you know what whatever it is that you're clicking on over here or over here. So the stage we have an option called autoplay. We don't want it to autoplay. So we want this off. All right. So now what we want to do is we want to click on preful and we want to add an event here. All right, that reveals I just moved that over because I wanted to be able to see this. So if we click on this, we can add some type of an event based on if you wanted to click, you want something to happen, double click, mouse over, uh touch start. This is like a for mobile and yeah, a bunch of really cool stuff. So, we're going to focus on mouse over. All right. So, it says insert code to be run when the mouse hovers over the object. Well, by default, if you remember, we well, I hope you remember. You would have a really bad memory. Uh, we made sure that autoplay wasn't on. So, by default, it's stopping the timeline. It's not going to run anything. So, what we want to happen is play the current timeline when we have this mouse over. All right. So, pretty simple. Uh, let me go ahead and close that out. All right. So, nothing we've add we have added nothing basically to this timeline. So, even if we hover over it, nothing will happen. So, that's up to us to go ahead and add some sort of animation. So by default, we want the preful to be at a zero opacity so that we only see this. All right. So let's go ahead. If we click on this, we can add a pin, which is kind of like a key frame. So if we move this over to around 1 second, we can make this come back in to 100% opacity. All right, very simple. So, let's go ahead and hit control enter. Oops. Let me refresh that and just show you that it does stop. Nothing's happening because we haven't mouse entered over that area. We can even come over here and rest of the HTML document. But if we enter that 500x 500 pixel canvas, you'll see now it actually goes over there. All right. So, we also see some weird things happening because it's going through the animation and basically replaying it. So, what I want to do is over here, if we click on this little insert trigger, you'll see it adds a little trigger based on where we're currently at. And all we have to do is hit enter and just hit stop. Stop at Yeah. So, you want to choose stop at and then 1,000 frames is where we're at at 1 second. All right. So, we'll go ahead and close that. And now we want to add an event for mousing out. All right. So the way you do that is we'll go ahead and with preool still selected click the over here and then click on plus and then mouse out. And then what we'll do is click on play from 1001 because if you leave it at 1,00 1,00 if you remember we have a stop so it won't play. So 101 it will play everything after that. All right. So I'm going to close that. And now what I want to do is go ahead and also before I I kind of forgot I wanted to do something. I want to take pre-outline and come over here and make that a zero opacity. All right. So, it's kind of transitioning between both of them. All right. So, what we can do now if we take both of those holding shift and selecting on these lines, hit control C. And then with our timeline right at one second, we can go to edit, paste special, paste inverted. All right. So what that does is take whatever the animation that we have selected and it will reverse it. Pretty simple. All right. So let's go ahead and hit control enter to preview this in the browser. All right. So notice it stopped there even though we have more animation. If I come off of it, it'll go back out. Pretty cool. All right. So, let me go ahead and come back here. And we can even add more things to this, more animations. For example, if we wanted to say after this was done for some reason, um we wanted to make this pre-outline basically maybe to scale in or rotate for some reason. Obviously, in a real world scenario, that doesn't make sense, but this is just for learning a couple new things here. So what we could do is uh if we click on trans uh the transform tool right here, you'll notice that we can basically let me come over here, scale this down or rotate it. So if we real quickly just move this a little bit like in, we'll see that it adds a scale X and Y. So it has by default, let me bring this up so we can see it a little bit closer. From a 100% to 98. I So what we can do if we bring that bring that back to 100%. You'll see that now it has the key frames, but there's nothing really uh happening because they're both at 100%. So what we can do is move over here maybe just to around a half second. And now if we take this and scale it down after it does this animation from one to two, the inverted animation, it'll also come down and come back. And in in order to make it come back real quick from that scale, Ctrl + C, taking those two, edit, paste, special, and paste inverted. All right. So, let's go ahead enter, hover over it, hover off of it. Very simple. So, as you can see, uh you could probably do a bunch of different interesting things with this. This could be used for a variety of purposes potentially for uh I guess you could say a banners, display banners. Uh you could also do it for page elements. You can even add these triggers. You know, right now we're just using hover on and hover out. Uh you could specify I believe page squirrel so when it becomes visible in the viewport you can make an animation play with your SVG files. Um, and I remember seeing also several more. Uh, let me come down here. Swipe left, swipe, swipe right. Uh, I even remember seeing one, I'm not sure where I saw that at, uh, for changing the orientation, for example, of a of a phone from portrait to landscape. Uh, but yeah, a lot of stuff can be done. And this is just a very quick tutorial. I I just installed Edge Animate myself. So I definitely plan on getting more in depth and doing more real world sort of uh tutorials with this that are applicable to actual you know practical usage uses a usages sorry. All right so yeah that is it. Uh if you wanted to save this obviously you can just save as I don't know why that issue keeps coming up this error every time I try to save. Anyhow you can save it as an HTML file and then upload it to server. check it out on your phone. Uh, another option real quick. Uh, let me see here. If I click on stage, this can also work with responsive scaling. So, if you if you basically uh enabled that uh if you had it in like a uh some sort of div container uh that was responsive in and of itself, it would it would scale down appropriately. If we try to view this in the browser when there when there's no container inside of it, it becomes like this massive document. So, not really practical, but yeah, if you're going to actually use it in a uh in an environment where you have a web page or whatever, you have it's inside of a container, um having it responsive scale would be a no-brainer basically. Um so, yeah, uh that is it. So, uh, go ahead and check out designcourse.com if you haven't yet and subscribe here on YouTube. All right, see you tomorrow.

Original Description

http://goo.gl/BBse40 - Design + Code a Professional Android App from Scratch Project Files: http://www.designcourse.com/videos/create-an-interactive-svg-with-adobe-edge-animate/117 - Use Adobe Illustrator to create a couple SVG graphics, and then animate them based on mouse activity in Adobe Edge Animate. Follow us: Facebook: http://www.facebook.com/designcourses Twitter: http://twitter.com/designcoursecom Google+: http://plus.google.com/+DesignCourse Dribbble: http://dribbble.com/designcourse - - - - - - - - - - - - - - - - - - - - - - Subscribe for NEW VIDEOS weekly! My site: https://designcourse.com My personal FB account: http://fb.com/logodesigner Coursetro FB: http://fb.com/coursetro Coursetro's Twitter: http://twitter.com/designcoursecom Join my Discord! https://discord.gg/a27CKAF ^-Chat with me and others - - - - - - - - - - - - - - - - - - - - - - Who is Gary Simon? Well, I'm a full stack developer with 2+ decades experience and I teach people how to design and code. I've created around 100+ courses for big brands like LinkedIn, Lynda.com, Pluralsight and Envato Network. Now, I focus all of my time and energy on this channel and my website Coursetro.com. Come to my discord server or add me on social media and say Hi!
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from DesignCourse · DesignCourse · 0 of 60

← Previous Next →
1 Photoshop Pen Tool Tutorial (Tattoo Design)
Photoshop Pen Tool Tutorial (Tattoo Design)
DesignCourse
2 How to Design the Microsoft Logo in Photoshop
How to Design the Microsoft Logo in Photoshop
DesignCourse
3 Photoshop Gradients Video Tutorial
Photoshop Gradients Video Tutorial
DesignCourse
4 Your Guide to Layer Styles
Your Guide to Layer Styles
DesignCourse
5 Layer Masks in Photoshop
Layer Masks in Photoshop
DesignCourse
6 iOS App Icon Design Tutorial in Illustrator CS6
iOS App Icon Design Tutorial in Illustrator CS6
DesignCourse
7 Illustrator CS6 Logo Design Tutorial - Archfold
Illustrator CS6 Logo Design Tutorial - Archfold
DesignCourse
8 Photoshop CS6 3D Tutorial - Magic Tent Illustration
Photoshop CS6 3D Tutorial - Magic Tent Illustration
DesignCourse
9 How to Design a Tshirt Tutorial - Adobe Illustrator
How to Design a Tshirt Tutorial - Adobe Illustrator
DesignCourse
10 Types of Logos - Lettermark & Monogram Logo Type
Types of Logos - Lettermark & Monogram Logo Type
DesignCourse
11 Banner Design in Photoshop CS6
Banner Design in Photoshop CS6
DesignCourse
12 How to Design a Logo in Illustrator CC
How to Design a Logo in Illustrator CC
DesignCourse
13 Designing a Logo in Photoshop CC
Designing a Logo in Photoshop CC
DesignCourse
14 1. Launch & Market a Web Based Business - Introduction
1. Launch & Market a Web Based Business - Introduction
DesignCourse
15 2. Launch & Market a Web Based Business - Logo Design
2. Launch & Market a Web Based Business - Logo Design
DesignCourse
16 3. Home Page Mockup in PS : Part 1
3. Home Page Mockup in PS : Part 1
DesignCourse
17 4. Home Page Mockup in PS : Part 2
4. Home Page Mockup in PS : Part 2
DesignCourse
18 5. Home Page Mockup in PS : Part 3
5. Home Page Mockup in PS : Part 3
DesignCourse
19 6. Home Page Mockup in PS : Part 4
6. Home Page Mockup in PS : Part 4
DesignCourse
20 7. Home Page HTML & CSS - Part 1
7. Home Page HTML & CSS - Part 1
DesignCourse
21 8. Home Page HTML & CSS - Part 2
8. Home Page HTML & CSS - Part 2
DesignCourse
22 Using Photoshop to Showcase Mobile Projects
Using Photoshop to Showcase Mobile Projects
DesignCourse
23 Flat Icon Design Tutorial in Illustrator CC
Flat Icon Design Tutorial in Illustrator CC
DesignCourse
24 Illustrator CC Logo Design Tutorial - A Logo That "Pops"!
Illustrator CC Logo Design Tutorial - A Logo That "Pops"!
DesignCourse
25 Logo Design Follow Along 1: Emblem Logo Design
Logo Design Follow Along 1: Emblem Logo Design
DesignCourse
26 Showcasing Logos in 3D with Blender
Showcasing Logos in 3D with Blender
DesignCourse
27 How to Design an Effective Lettermark Logo
How to Design an Effective Lettermark Logo
DesignCourse
28 Squeeze Page Design Tutorial in Photoshop (Part 1)
Squeeze Page Design Tutorial in Photoshop (Part 1)
DesignCourse
29 Squeeze Page Design Tutorial in Photoshop (Part 2)
Squeeze Page Design Tutorial in Photoshop (Part 2)
DesignCourse
30 Mobile GUI Element Design in Adobe Photoshop CC (Part 1)
Mobile GUI Element Design in Adobe Photoshop CC (Part 1)
DesignCourse
31 Mobile GUI Element Design in Adobe Photoshop CC (Part 2)
Mobile GUI Element Design in Adobe Photoshop CC (Part 2)
DesignCourse
32 Flat Mobile App Design in Photoshop CC - Weather App
Flat Mobile App Design in Photoshop CC - Weather App
DesignCourse
33 Create Reflective 3D Text in Blender (Beginner)
Create Reflective 3D Text in Blender (Beginner)
DesignCourse
34 Animating a Logo with Adobe After Effects CC (Beginner)
Animating a Logo with Adobe After Effects CC (Beginner)
DesignCourse
35 Design a Game Website Mockup in Photoshop CC (Part 1)
Design a Game Website Mockup in Photoshop CC (Part 1)
DesignCourse
36 Design a Game Website Mockup in Photoshop CC (Part 2)
Design a Game Website Mockup in Photoshop CC (Part 2)
DesignCourse
37 Photo Manipulation Tutorial in Photoshop CC (Beginner)
Photo Manipulation Tutorial in Photoshop CC (Beginner)
DesignCourse
38 Advertising Illustration Tutorial in Photoshop CC
Advertising Illustration Tutorial in Photoshop CC
DesignCourse
39 Perspective Warp Tool Tutorial in Photoshop CC
Perspective Warp Tool Tutorial in Photoshop CC
DesignCourse
40 Free Giveaway Contest.  (WiseBanner Banner Maker).
Free Giveaway Contest. (WiseBanner Banner Maker).
DesignCourse
41 Design an Animated Loading/Download Icon (GIF)
Design an Animated Loading/Download Icon (GIF)
DesignCourse
42 Contest Winners (WiseBanner)
Contest Winners (WiseBanner)
DesignCourse
43 Model & Animate a 3D Push Button in Blender (Beginner)
Model & Animate a 3D Push Button in Blender (Beginner)
DesignCourse
44 Mega Tutorial - iPhone Breathalyzer - Project Introduction
Mega Tutorial - iPhone Breathalyzer - Project Introduction
DesignCourse
45 Part 1 - iPhone Breathalyzer - Blender
Part 1 - iPhone Breathalyzer - Blender
DesignCourse
46 Part 2 - iPhone Breathalyzer - Rendering & GUI Design
Part 2 - iPhone Breathalyzer - Rendering & GUI Design
DesignCourse
47 Part 3 - iPhone Breathalyzer - UI Animation in After Effects
Part 3 - iPhone Breathalyzer - UI Animation in After Effects
DesignCourse
48 Part 4 - iPhone Breathalyzer - Website Design in Photoshop CC
Part 4 - iPhone Breathalyzer - Website Design in Photoshop CC
DesignCourse
49 Part 5 - iPhone Breathalyzer - HTML Part 1
Part 5 - iPhone Breathalyzer - HTML Part 1
DesignCourse
50 Part 6 - iPhone Breathalyzer - HTML/CSS Part 2
Part 6 - iPhone Breathalyzer - HTML/CSS Part 2
DesignCourse
51 Part 7 - iPhone Breathalyzer - HTML/CSS Part 3
Part 7 - iPhone Breathalyzer - HTML/CSS Part 3
DesignCourse
52 Part 7 - iPhone Breathalyzer - Finishing Touches
Part 7 - iPhone Breathalyzer - Finishing Touches
DesignCourse
53 Square Space Logo Maker - C'mon People.
Square Space Logo Maker - C'mon People.
DesignCourse
54 Design a Bloody Knife in Photoshop CC
Design a Bloody Knife in Photoshop CC
DesignCourse
55 Typographic Poster Design Tutorial in Illustrator (Part 1)
Typographic Poster Design Tutorial in Illustrator (Part 1)
DesignCourse
56 Typographic Poster Design Tutorial in Illustrator (Part 2)
Typographic Poster Design Tutorial in Illustrator (Part 2)
DesignCourse
57 Modern Business Card Design in Illustrator CC (Part 1)
Modern Business Card Design in Illustrator CC (Part 1)
DesignCourse
58 Modern Business Card Design in Illustrator CC (Part 2)
Modern Business Card Design in Illustrator CC (Part 2)
DesignCourse
59 Parallax Tutorial using Parallax.JS
Parallax Tutorial using Parallax.JS
DesignCourse
60 Interview: Andrew Price of BlenderGuru.com
Interview: Andrew Price of BlenderGuru.com
DesignCourse

Related Reads

📰
Netflix used AI in 300 shows. Its biggest director calls AI a Trojan horse.
Netflix's use of AI in 300 shows sparks debate among Hollywood directors and unions, highlighting the need for discussion on AI's role in the industry
The Next Web AI
📰
NRED Is Moving From Target Generation to Operational Intelligence
NRED shifts focus from target generation to operational intelligence, leveraging MetalCore and EyeX platforms
Medium · AI
📰
The top AI fear for 6,000 tech pros isn't losing their jobs - it's more work for the same pay
Tech pros fear increased workload due to AI, not job loss, and are hesitant to recommend their role to newcomers
ZDNet
📰
Only10 Vol.26.01 | 10 AI Projects Worth Watching This Week
Discover 10 noteworthy AI projects using the CRP framework to stay updated on the latest developments in the field
Medium · ChatGPT
Up next
Alibaba's New Qwen 3.8 Max: "Second Only To Fable 5"
AI Andy
Watch →