TAILIEUCHUNG - Targeting the Current Movie

Nhắm mục tiêu các phim hiện Bất cứ khi nào một kịch bản được đặt trong một thời gian, chẳng hạn như trên một khung hoặc trên một nút, và mục tiêu cho những hành động này là cùng một thời gian, mục tiêu cho những hành động trong kịch bản đó là bộ phim hiện hành. Đây là loại giống như nói với chính mình để làm một cái gì đó. | Targeting the Current Movie Whenever a script is placed in a timeline such as on a frame or on a button and the target for those actions is that same timeline the target for the actions in that script is the current movie. This is sort of like telling yourself to do something. For example if you were to tell yourself to stand up that action could be said to be targeting the current person you because you gave and responded to the command you re both the commander and the person taking orders . If you were to script this action it would look like this standUp Note that the action doesn t include a target path. This is because the action targets the current movie if you were to tell yourself to stand up you wouldn t normally address yourself prior to giving the command. In much the same way Flash understands that when an action doesn t include a target path it s meant to affect the timeline where the script resides. Another way to address the current movie in a script is by preceding an action with the term this like so In essence you re saying With this timeline take the following action. We ll provide greater detail about this later in the book. For now remember that in all cases the following syntax is interchangeable when addressing the current movie action Keep in mind that your project may contain many scripts on various timelines that don t contain target paths. When this is the case each script affects its own timeline or the current movie. In the next exercise we ll target the current movie for several timelines using no target path and the term this interchangeably. We use both because we want you to grow accustomed to the use of this as well as how it relates to the current referenced object. You will have opportunities to use it in more advanced ways later. 1. Open in the Lesson03 Assets folder. This project consists of a single scene with four layers each named according to its content. The Background layer .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.