The Old Switch-a-Roo

[ LiB ] 

By definition, a symbol instance is really just a dummy item that points back to its original symbol. So when you drag several instances of a symbol onto the stage and then change the original symbol, all the instances reflect the same change. That being said, it only makes sense that you can change which symbol an instance points to, right?

graphics/098fig01.jpg

graphics/098fig02.jpg

Select an instance of any symbol that's on your Stage. In the Property inspector, press the Swap button. You are given a list of all the symbols in your Library to choose from. Select any other symbol and then press OK to make the swap. Flash has now swapped the symbols that appear on your Stage. In essence, your instance (pointer) now points back to a different original symbol.

The cool thing is that whatever properties you had applied to that instance are still applied. Dat's what I'm talkin' about!

[ LiB ] 


Macromedia Flash MX 2004 Killer Tips
Macromedia Flash MX 2004 Killer Tips
ISBN: 0735713839
EAN: 2147483647
Year: 2003
Pages: 300
Authors: Shane Elliott

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net