Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (13.06 KB, 2 trang )
< Day Day Up >
< Day Day Up >
Understanding Multiple Timelines
Every project includes a main timeline. But projects also include movie clip instances
that have timelines of their own. You can use the loadMovie() action to add external
SWFs to a project, thereby adding even more timelines. Therefore, a single project can
have many separate timelines, all of which can act independently, with their own
variables, properties, objects, and functions.
However, these timelines can also work together: one timeline can control another. In
fact, any timeline present in a scene can tell another present timeline to do something.
(Timelines are considered present as long as they exist in the Player movie window. If a
movie clip instance appears in your movie for 40 frames, it's considered present—and
targetable—only during those 40 frames.)
The communication lines for these movie elements are provided by target paths—
addresses to objects (movie clip instances, for example) that describe the overall area in
which the object exists and narrow that area with each subsequent level. To better
understand this concept, take a look at the following example. The target path to one of
your authors would look something like this:
This target path contains four levels, separated by dots, with each subsequent level
smaller in size and scope until you reach the target: Derek Franklin. This is what's known
as an absolute path—the complete and absolute location of Derek Franklin here on Earth.
If someone in Australia wanted to communicate with Derek (using a hypothetical
communication system), he or she would use this absolute address.
< Day Day Up >