TAILIEUCHUNG - Adobe Flash CS3: The Professional Portfolio- P71

Adobe Flash CS3: The Professional Portfolio- P71: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. | 6. Add a line to the script that defines the browse function using the following code function browse euent MouseEuent uoid The browse function is called by the MOUSE_UP mouse event so the function parameter is event MouseEvent. McuseEvent .H XJSE_UF browse function browse event MouseEvent void 7. Place the insertion point between the braces of the function and press Return Enter twice. function browse event HouseEvent void I 8. On the empty line 19 between the opening and closing function braces add the switch conditional statement using the following code switch The switch conditional statement allows you to define different actions within a single function. The condition refers to the name property of the target instance that triggered the function in other words the specific instance the user clicked to call the function . If a user clicks the passes_btn instance for example the switch parameter is passes_btn. 18 19 20 function browse event MouseEvent void switch J 9. Place the insertion point between the braces of the switch statement and press Return Enter twice. function browse event HouseEvent void switch 1 0- Type the following code on the empty line 20 between the switch statement braces case home_btn gotoRndStopl home In plain English this line of code says If the switch condition is home_btn move the playhead to the frame labeled home and then stop. function brews event MouseEvent void switch case hoxae_Jbtn gotoAndStcp home 1 1. Press Return Enter and type break on line 21. The break statement simply tells the function to stop processing once the appropriate case has been identified. B function browse event MouseEvent void switch case home_btnM gotoAndStop hare break Note In the gotoAndStop function the frame label must be enclosed within quotation marks. I Project 8 Seabreeze UUeb Site 337 1 2. Press Return Enter .

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.