tailieunhanh - Adobe Flash chuyên nghiệp - p 22
15 Click Scene 1 above the Stage to exit symbol-editing mode and return to the main Timeline. Your first button symbol is complete! Look in your Library panel to see the new button symbol stored there. invisible Buttons and the Hit Keyframe Your button symbol’s Hit keyframe indicates the area that is “hot,” or clickable, to the user. Normally, the Hit keyframe contains a shape that is the same size and location as the shape in your Up keyframe. In most cases, you want the graphics that users see to be the same area where they click. However, in certain advanced applications,. | 15 Click Scene 1 above the Stage to exit symbol-editing mode and return to the main Timeline. Your first button symbol is complete Look in your Library panel to see the new button symbol stored there. Invisible Buttons and the Hit Keyframe Your button symbol s Hit keyframe indicates the area that is hot or clickable to the user. Normally the Hit keyframe contains a shape that is the same size and location as the shape in your Up keyframe. In most cases you want the graphics that users see to be the same area where they click. However in certain advanced applications you may want the Hit keyframe and the Up keyframe to be different. If your Up keyframe is empty the resulting button is known as an invisible button. Users can t see invisible buttons but because the Hit keyframe still defines a clickable area invisible buttons remain active. So you can place invisible buttons over any part of the Stage and use ActionScript to program them to respond to users. Invisible buttons are useful for creating generic hotspots. For example placing them on top of different photos can help you make each photo respond to a mouse click without having to make each photo a different button symbol. ADOBE FLASH PROFESSIONAL CS5 CLASSROOM IN A BOOK 201 Download from Library of Wow ebook Duplicating buttons Now that you ve created one button others will be easier to create. You ll duplicate one button here change the image in the next section and then continue to duplicate buttons and modify images for the remaining restaurants. 1 In the Library panel right-click Ctrl-click the gabel loffel button symbol and select Duplicate. You can also click the options menu at the top-right corner of the Library panel and select Duplicate. 2 In the Duplicate Symbol dialog box select Button and name it gary gari button. Click OK. Swapping bitmaps Bitmaps and symbols are easy to swap on the Stage and can significantly speed up your workflow. 1 In the Library panel double-click the icon for your newly .
đang nạp các trang xem trước