One of my proudest "Flash moments" was when I leared how to place a movie clip inside a different movie clip. Learning how to do that was exciting and fulfilling, but not easy to do. In fact, I often got confused when it came to naming symbols in the library and naming instances on the stage. Specifically, naming one Movie Clip instance separately from the other Movie Clip instance within which it was located. So, here are a few bits of information about naming that you will want to remember:
1. Every symbol in the library has a unique name, and there can be only one version of a particular symbol in the library.
2. When you "drag" that symbol from the library onto the stage you create an "instance," which can be named separately from its master symbol.
3. I recommend giving each Movie Clip instance a unique name so that it can be addressed directly by action scripts.
4. Just because the master symbol in the library has a name, that does not mean an instance of that master symbol will automatically have a name.*
* Forgetting to name instances is common, and is often the cause of scripting errors.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment