TAILIEUCHUNG - Loading Movies into Targets

Tải phim vào mục tiêu Khi phương tiện truyền thông tải từ một nguồn bên ngoài, bạn phải chỉ định một nơi dành cho các phương tiện truyền thông cho cư trú trong bộ phim chính của bạn, mà chúng tôi sẽ gọi bộ phim nhận được. Đối với bên ngoài nạp file SWF và JPGs, vị trí đó có thể là một mục tiêu hoặc cấp một. | Loading Movies into Targets When loading media from an external source you must assign a place for the media to reside within your main movie which we ll call the receiving movie. For externally loaded SWFs and JPGs that location can be either a target or a level. NOTE Loading an MP3 file is a different process you can t load MP3s into a target or level. Later in this lesson we ll discuss the processes for loading MP3s and for loading a movie into a level. A target is simply an existing movie clip instance within the receiving movie. In fact every movie clip instance in the receiving movie is a potential target for externally loaded SWFs or JPGs. The syntax for loading a movie into a target looks like this loadMovie This action loads into the movie clip instance with the target path of thereby replacing the current timeline at that target path with the one that s loaded into it. When loading external media you can think of a movie clip instance as nothing more than a shell containing timelines one timeline that s placed there when the movie was authored which happens automatically when a movie clip instance is placed on the stage and one timeline that s loaded dynamically as the movie plays. TIP The directory path to the external asset can be written as an absolute or relative URL depending on where the file exists. When loading an external asset into a target it s important to remember the following rules The registration point of the externally loaded asset will match the registration point of the target instance into which you load the asset. If the target instance that an external asset is loaded into has been transformed in any way for example rotated the loaded asset will take on those transformations. After an externally loaded asset has been loaded into a target you can control the asset via ActionScript using the target path to the instance into which the .

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.