tailieunhanh - Adobe Flash CS3: The Professional Portfolio- P46

Adobe Flash CS3: The Professional Portfolio- P46: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. Type this on line 1 in the script pane. Again the reference this refers to the current timeline in this case the Baggy movie clip timeline. 7 In the Actions toolbox expand MovieClip Methods. 8. Double-click gotoAndPlay in the Actions toolbox. Double-clicking inserts the gotoAndPlay function into the script pane. Because you used the Actions toolbox Flash adds the required dot between the path and the function. 9. Type 1 0 inside the parentheses of the gotoAndPlay function and type a semicolon at the end of the line of code. This code creates a loop so that when the Baggy movie clip reaches Frame 17 the playhead moves back to Frame 10 resulting in a continuous running effect using only eight frames. _ Scene 1 3 Baoov Workspace 100 The entire function includes the object path the command the function arguments the frame where you are sending the playhead and the semicolon. The gotoAndPlay function is accessed in the flash display MovieClip Methods package. 1 0. Click Frame 23 in the timeline. On line 1 in the script pane type 20 . Like the stop command you can simply type the gotoAndPlay command rather than using the Actions toolbox. As you become more comfortable working with ActionScript you ll also become more comfortable typing your own code. When you write ActionScript remember that capitalization counts. Make sure you capitalize words in the functions exactly as we show them here. GoToAndPlay is not the same as gotoAndPlay . I Actions - Frame x e 1 ZÈ Baoov Workspace 100 AcbociScript MovieCSp gj Events kJ Methods sddChM ispl O. addChWAtfKsptay. fe P e Z 1 5 5 H V 0 O 3 20 Note Each racer s movie clip includes frame animations for crying when the character loses Frames 20-23 and cheering when the character wins Frames 26 29 . The gotoAndPlay fiinction is necessary to loop both of these animation sequences. 212 Project 5 Gotor Roce Gome 1 1. Click Frame 29 in the timeline. On line 1 in the script pane type .

crossorigin="anonymous">
Đã 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.