Join Anastasia McCune for an in-depth discussion in this video Distributing and swapping multiple symbols and bitmaps, part of Flash CC 2013 New Features.
There are two new things you can do in flash, one working with multiple selected symbols or bitmaps. The first has to do with swapping, the second has to do with distributing to key frames. Working in the file called swapping.fla, will first take a look at swapping. So I've got three of our monsters on the screen here and clicking on each you can see in the property inspector that they are all movie clips. So I've bee playing dress up with them using some of the bit maps in the images file in the library. I'll turn on the bitmaps layer in the timeline and you can see that this guy on the right has some funny teeth that I've added and re-sized to fit. The middle guy has this shaggy purple hair and the monster on the left has this like giant third eye.
Now that's pretty funny but I think what all these monsters need to make them look good is the mustache. So I'm gonna select all three of the bitmaps set once and open the Properties panel. Click this Swap button and choose mustache from the swap bit map box, I'll click OK and now they've all got mustaches. Granted, they need to be resized and repositioned, but the fact that we could swap all three at the same time is what's new. In previous versions, you would have had to swap each image out one at a time.
Swapping multiple objects out at once works for symbols, too. If I select all three of my movie clips at once, the same process follows. I can click Swap in the Properties panel. And this time I'll change all three monsters to Card 9, Monster N. And there we have it, three monsters with dapper mustaches ready for a night out. The only thing to remember when swapping multiple items is that you can't swap bitmaps for symbols, or symbols for bitmaps.
So the second thing that's new with Flash when working with multiple items is the ability to distribute multiple objects on a layer into individual different key frames. Maybe have multiple items brought into Flash from Illustrator. Or maybe you've got multiple items that you've lined up for visual placement single keyframe. And now you want them in separate frames. Whatever, this new feature will make being able to distribute he items to individual keyframes easy. So to demonstrate, I'm going to lock the monsters and bitmap layers. And unlock and turn on the distribute layer.
So here we have some buttons. Looking in the property inspector, we can see that the first three easy, medium and hard are movie clips. The new game and quit are both buttons and the monster match-up image is a bitmap. I'm gonna hit Ctrl+A to select all six items. At this point, I right-click over any of the items and choose the new option of Distribute to Keyframes and there we go. You can see that the original key frame, key frame one, is left blank. And the six items are now spread out over six individual key frames on the timeline.
So there we have it, two new enhancements to the timeline that can save you a little bit of time. The ability to swap multiple bitmaps or symbols at once. And, the ability to distribute multiple item out to multiple key frame.
Note: Adobe Creative Cloud is updated on a regular basis. We will add more tutorials as features are added or changed, so check back often.
- Distributing and swapping multiple symbols and bitmaps
- Managing properties for multiple layers at once
- Scaling content to predefined anchor points
- Exporting video and animation
- Working with the HTML5 Canvas document type
- Using Cross-File Find and Replace
- Testing and debugging on iOS
Skill Level Intermediate
Q: This course was updated on 12/05/2013. What changed?
A: We updated six movies and added two new ones on the new HTML5 Canvas document type and some updated publish settings for AIR 3.8 for Android.
Q: This course was updated on 6/18/2014. What changed?
A: We added nine new movies, covering changes to the Flash interface and features that were reintroduced to Flash CC, as well as HTML Canvas integration and the new Width and Motion Editor tools.