Hierarchy
Movie hierarchy
You have learnt that if we work with "main timeline" methods, which are called Actions we don't need to use any name to refer, we simply type the Action. We always referred to the objects by name when decided to invoke their methods or change or read their properties.However, we never touched yet a very important subject hierarchy in the Flash movie. It allows much more convenient referring when working with the code.
You may have noticed that in all our exercises we called only those object which lies inside the main timeline and never when objects are inside other objects. The reason was you have not been taught yet . We never mentioned the problem, but in our previous "Kill the bug" project we referred to the bug itself but could not refer directly by name to the bug's wing, which was a separate symbol. Also we could not encapsulate the guide with flying bug into separate symbol since if bug were not in the main timeline we could not refer to it
Today we will learn about Flash Movie hierarchy and you will be able to solve all those problems.