Adobe Flash CS3: The Professional Portfolio- P73

Adobe Flash CS3: The Professional Portfolio- P73:Now you can easily create web-ready images and animations within the familiar Adobe environment. With the recent acquisition of Macromedia, Adobe has added Flash to its suite of creative products, thus solidifying its position as the world's leading developer of graphic and visual communications tools. The Against The Clock Portfolio Series Flash title ensures that you'll learn everything you need to complete any job that requires Flash skills. | 7. On line 4 of the script pane type addChild loadlmage The addChild method places the defined Loader object the external file in the movie technically called adding to the display list . Objects added to the display list using ActionScript do not appear on the development Stage. You have to test the movie to verify that they load properly. Line 1 identifies the file to import. Line 2 brings the external file into Flash. Line 3 loads the file into the movie by connecting the URLRequest object and the Loader object. Line 4 places the file into the movie in the display list . 8. Press Retiirn Enter twice to move to line 6 of the script pane. 9. Using the same process as in Steps 4-7 add code that places the external file in the Images folder on the Stage Liar get I mage2 URLRequest new URLRequest Images circles. png war load I mage2 Loader new Loader load get Image2 addChild loadlmage2 Project 8 Seabreeze UUeb Site 347 1 0. Press Command-Return Control-Enter to test the movie. The two images appear in the movie stacked according to the order they were added by the script. When you use the addChild method new objects are added by default at X 0 Y 0 in the top-left corner of the movie . 1 1. Close the player window and return to Flash. 1 2. Save the file and continue to the next exercise. the addChild Function to Rdd Objects to thc Displav List The file now has two static images that both load at the top-left corner of the movie. For the background image you need to create a mechanism that loads the home images randomly each time the file loads. You can accomplish this task by using a random math variable similar to the technique you used to move random characters when you completed Project 5. The second image is a static image but it needs to appear on the right side of the window instead of the default 0 0 position. To complete this task you can change the display properties of the Loader object that contains the circles image. 1. .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã 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.