Creating Drag-and-Drop Functionality with Edge Animate
Illustration by John Hersey

Creating and importing graphics


From:

Creating Drag-and-Drop Functionality with Edge Animate

with Paul Trani

Video: Creating and importing graphics

Now typically the first thing you want to do in Edge Animate is create or import graphics. Now obviously there are already some graphics in this project. Keep in mind this is an HTML page. And this is great because I can import or create any graphics I want right into Edge Animate. So I'm going to go to File > Import. And all these graphics that I want to import are web based file formats. I can take a look right down here, you'll see some graphic formats, some audio files, even some video files in the 2014 release of Edge Animate CC.

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now
please wait ...
Watch the Online Video Course Creating Drag-and-Drop Functionality with Edge Animate
1h 14m Beginner Jul 01, 2014

Viewers: in countries Watching now:

Drag-and-drop functionality is perfect for any game or interactive web project. Edge Animate makes it easy to implement. Plus, the drag-and-drop interactions you add work even on smartphones and tablets. Learn how to create draggable objects, add target areas where users can drop them, create reactions to those drops, and change content and object positioning accordingly. Author Paul Trani walks you through each step of the process in this project-based course.

Topics include:
  • Creating graphics and importing them into Edge Animate
  • Adding animation and interactivity
  • Making items draggable
  • Adding a droppable target area
  • Controlling multiple objects
  • Resetting positions of objects
  • Testing and publishing your project
Subject:
Web
Software:
Edge Animate
Author:
Paul Trani

Creating and importing graphics

Now typically the first thing you want to do in Edge Animate is create or import graphics. Now obviously there are already some graphics in this project. Keep in mind this is an HTML page. And this is great because I can import or create any graphics I want right into Edge Animate. So I'm going to go to File > Import. And all these graphics that I want to import are web based file formats. I can take a look right down here, you'll see some graphic formats, some audio files, even some video files in the 2014 release of Edge Animate CC.

But I'm going to just, quickly pick this body SVG. Selecting that. Clicking open. Here's the body. I actually created it in Illustrator. I can move him right down there, and that's fairly set up but he's obviously missing a head. And for his head, I just want to quickly draw that out using the Ellipse Tool. So this is actually a div that I am creating. But I can quickly draw a big circle, kind of like that, there's my ellipse. Ok? But I'm going to go just beyond just creating it, a simple circle because I want to show you use some advanced functionality.

because right down here, in the Properties panel under Corners, I can click the four corners button right there and then I can change the radius of those corners. So I can change it down to, maybe 35 or 40, to round those even more shallow. So it kind of looks like he has a jaw, and that's what I want. So I can create what I want. I can give it a little bit of color. Making sure it kind of matches, that body there. And this flat look isn't bad. In fact, I'm going to just copy this RGB color right here.

The RGBA, because what I want to do is I actually want to add a radial gradient. So right here, adding a radial gradient, pasting in that color I just created. In fact let's change that a little more. Pasting it in for both of these color stops, and for this top color stop, I can adjust it, like that. Just to give it some depth. There we go I'd say that looks good, perfect. So I have a created graphic, an imported graphic I also want to point out. As you start manipulating and importing elements, you want to keep an eye right down here at this info area.

And it just says SVG files require the proper MIME type on the server. Don't let that scare you, it's really not that big of a deal. There's hardly a browser or server I know of that doesn't render SVGs. Don't let that scare you. But in general since I want to treat this as one unit, what I can do is I can select both of those elements, right-click. And I can convert them to assemble. In fact, I'm going to shut off auto play and I'm going to call this Monster Body. Just like that. Click OK. Now I can move this around and it's basically one unit and has it's own separate timeline.

Just like a lot of these elements. But let's import two more items. So I'm going to go to File > Import. And I'm going to show you how you can create some more efficiency. In fact, I'm going to import this IPNG file. So here's my PNG file. Move that right down here. And in this case I want to duplicate it. So rather than importing, two eyeballs or actually one graphic that has both eyeballs in, it I can duplicate it, and then transform it, in this case I'll just make the horizontal size negative 100, so I basically flipped it just like that.

Okay, so you want to be efficient with your graphics. With both of those selected, I can convert that to a symbol and we'll just call it eyes. There we are. Okay last element. And this is really cool. If you have Illustrator CC, what you can do is you can copy and paste from Illustrator into Edge Animate and that's what I'm going to do right now. Here's my Illustrator file. I'm going to just select this web right here. Copy. Minimize Illustrator. Go back into Edge Animate. In this case I'm actually going to double-click on the background because that's where I want to paste it into.

And we'll do Edit > Paste. Right here, it actually does give you a visual, but since it's white it's kind of hard to see but I can say web. If you don't have Illustrator you can always just import that web.svg that's in the assets folder, 'Kay? Paste. Reposition, maybe resize. Get this looking the way I want it to look. Nice and elegant. Right, up, there. Perfect. This is setup. I have all my graphics in place. Really my next step for this particular project is to animate some of these elements

There are currently no FAQs about Creating Drag-and-Drop Functionality with Edge Animate.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Creating Drag-and-Drop Functionality with Edge Animate.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

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.

Sign up and receive emails about lynda.com and our online training library:

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

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.