TAILIEUCHUNG - Adobe Flash CS3: The Professional Portfolio- P48

Adobe Flash CS3: The Professional Portfolio- P48: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 | 9. Click after the opening curly brace and press Return Enter to add a line between the function braces. Although not required coding convention typically places each action of a function on a separate line in the script. this. . addEventListener raceStart function raceStart event HouseEvent void I Click here and press Return Enter to add a line to the function body. 10. Type 2 . Because you are adding the function on the main timeline the reference this refers to the main movie timeline. function raceStart event McuseEvent void 2 1 1. Press Return Enter to move to the next line in the script. 1 2. Click the Insert a Target Path button above the script pane and add a relative reference to the lila_mc instance. This line of code will command a specific object on the timeline so the target path needs to include the specific instance name. Note The code in between the brackets represents the function body the actions that will be performed when the function is called. 1 3. With the insertion point after the relative reference type the following code to add the gotoAndPlay command referencing Frame 21 .gotoRndPlay 211 function raceStart event MouaeEvent ïvoid 2 this. . gd I getBounds getChtóAt ------------------------ getChidBytlame getChidlndex getObjettsUnderPoint getRect gfabalToLocal j QotoAndPtay Because the instance name includes the _mc suffix Flash presents available functions as code hints. 1 4- Press Return Enter to move to the next line. When a user clicks the Lila instance the Lila movie clip timeline moves to Frame 21 where Lila stops looking at her watch and fires the starting pistol. 1 5. Add additional commands to the function to set the remaining movie clips in motion. Use the Actions toolbox or simply type the necessary code Note Code hints are enabled in this case because of the _mc characters in the instance name.

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.