Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
When you are working in Flash, sometimes you will want to swap an instance out with an instance of another symbol and sometimes you will want to duplicate a symbol. We will look at how to do both of those in this movie. First we'll look at how to swap an instance. So I have two roses here and let's say I wanted to swap one out with another instance of a symbol. So in the Library I have a few different instances of different flowers. So let's say I wanted to swap this rose out with the Flower4 flower. So to do that I'll select the rose on the Stage and then in the Properties panel, I'll click the Swap button.
This opens up the Swap Symbol window. So in this window I can just select the symbol I want to swap with, which is Flower4, and then click OK. Now Flower4 is placed there instead of the original flower. Now one of the reasons that you would want to duplicate a symbol is because you may want to apply a transformation that can only be done at the symbol level, but you don't want to affect all the other instances of that symbol. Let's say I wanted to make a transformation to the color of the stem of this sunflower, but I don't want to affect the other sunflower.
To do this I am going to open up the same Swap Symbol window. This time I'll do it in a different way. I'll do it by right-clicking the sunflower and then I'll choose Swap Symbol. Note that there is also a Duplicate Symbol, if I just wanted to duplicate it. I'm going to choose Swap Symbol and then I am actually going to click the Duplicate button in the Swap Symbol menu to duplicate the symbol. Here I am prompted to enter a name for the duplicated symbol. I'll just call it Flower2a. So I'll click OK and then I'll choose to make the swap from Flower2 to Flower2a and I'll click OK.
Now I can see that this is an instance of Flower2a in the Properties panel. The one on the left is still an instance of Flower2. Not Flower2a. So I'll double-click the instance on the right to enter Symbol Editing mode. Now any changes I make in here will not affect the Flower2 symbol, because I am applying them to the Flower2a symbol. So I'll select the stem, I'll change its color to a solid color, and return to the main timeline. Flower2a has a solid color and Flower2 has the gradient.
So using the Swap Symbol method you can swap a symbol instance out with an instance of another symbol and you can duplicate your symbols so you can apply changes without affecting the original symbol. And you can do both of those things by selecting the symbol instance and clicking the Swap button in the Properties panel.
Get unlimited access to all courses for just $25/month.Become a member