Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Adobe Flash CS3: The Professional Portfolio- P34: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 | 1 5. Click OK to close the Insert Target Path dialog box. The target object with an absolute reference starting from _root is automatically added in the correct area of the script. setProperty Set a property of a movie dp Property .alpha J Target .root.Bus 1 Expression Vak e i Expression The path is automatically added using the correct syntax for an absolute reference. I Sertt Asftri The path is added as a parameter of the action. 1 6. Type 100 in the Value field of the Actions panel. setProperty Property Set a p oper ty of a movie ctp I- zl Ttrtei .rooi.Bus r Em Vdue UH P Expr P Script Assis 1 on press 3 When you type in the Value field the appropriate parameter in the script is automatically populated. In English this code simply says When someone clicks me on press set the Alpha value of the Bus2 instance _root.Bus2 to 100 _alpha 100 thus rendering the Bus2 instance visible. 7 Test the movie Control Test Movie and look at where the Bus icon is placed. When the test movie is exported you can t at first see the Bus2 icon because the Alpha value is set at 0 it s invisible. 1 8. Click the Bus button on the legend. When you click the button the bus appears and rocks back and forth. However when you release the mouse button the icon remains visible which shouldn t happen. There s the bus icon. The gray color appears as you defined in the button s Down frame. 1 9. Close the test movie. In Flash make sure the legend Bus button is selected and click in the empty area of the script pane to deselect the existing function and action. 20. In the Actions toolbox double-click on to add a second event to the button. 21. In the top half of the Actions panel make sure the Release check box is selected. 22. Double-click setProperty to add that action to the on Release event. Project 3 Interactive Pork Mop 23. Define the parameters so that the Alpha value of Bus2 using an absolute reference changes to 0 when the legend button is released. This tells the button what to do when the