Siêu thị PDFTải ngay đi em, trời tối mất

Thư viện tri thức trực tuyến

Kho tài liệu với 50,000+ tài liệu học thuật

© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

Tài liệu Targeting a Parent Movie doc
MIỄN PHÍ
Số trang
6
Kích thước
16.7 KB
Định dạng
PDF
Lượt xem
937

Tài liệu Targeting a Parent Movie doc

Nội dung xem thử

Mô tả chi tiết

< Day Day Up >

Targeting a Parent Movie

Flash allows you to place one timeline inside another—this is what you're doing

whenever you add a movie clip instance to the main timeline. However, even movie clip

instances can contain other movie clip instances many levels deep. Placing one timeline

inside another creates a parent-child relationship between the timelines. The parent is the

timeline that contains the other movie; the child is the movie contained within the other

timeline.

A child movie can easily tell its parent what to do (not so easy in real life!) using the

following syntax:

_parent.play();

To understand how it works, imagine placing a movie clip instance named

myMovieClip_mc on the main timeline and then placing another movie clip instance

named myOtherMovieClip_mc inside myMovieClip_mc. The absolute target path of the

movie structure would look like this:

_root.myMovieClip_mc.myOtherMovieClip_mc

If you wanted an action on myOtherMovieClip_mc's timeline to cause

Tải ngay đi em, còn do dự, trời tối mất!