This course has been archived, the content is no longer up-to-date or relevant to most students.

Animate - HTML5 Banner Advertising in Adobe Animate.

Naming Instances in Adobe Animate

Daniel Walter Scott || VIDEO: 22 of 53

Download Exercise Files



In this episode we'll look at naming instances for out HTML5 Banner Ads in Adobe Animate.


Video transcript

Okay the next thing were going to do while were here is naming the instances. So when we named it before, we went to modify, convert to symbol, we called him mc Bob. Does mc Bob sound like a rapper or a dj, its what I keep hearing anyway. So mc Bob is a space alien rapper but that name space Bob is a symbol name, what we need to do is give these instances a name.

These instances here, I'm going to go to properties, they have no instance name to them at the moment, why? Why do you add instances names, its because later on when we add a little bit of code, were going to do a little bit of code in this course. Say we want to control this one but not this one, we want to move this one from left to right and this one up and down, we cant control it with code because we don’t know its name. We have to give these all unique names so that later on we can do this guy, so we know exactly who he is by giving him a name. We’re going to call this guy mc, and this is going to be alien. And it’s not going to be very exciting. Actually this is going to be Bob4 in my little list. This guy here is going to be mc underscore bob1. Making sure there's no spaces in there, use underscores or hyphens and just go through and name your instances as you're working. Its just good habit to get into, you don’t have to have them but later on when we start doing some of the publishing parts and we need to figure out who is what and do special things to them, especially buttons. We need to give them instance names. Were going to go through and name all of ours name.

Alright, that’s how to name your instances when you're working in adobe animate.