Adobe Flash CS3: The Professional Portfolio- P33

Adobe Flash CS3: The Professional Portfolio- P33: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 | Understanding Script Options There are several options and terms you need to understand to successfully and efficiently work with ActionScript. Consider the following script attached to a button which launches the Against The Clock Web site when a button is clicked. on press getURL http _blank In this example on press is an event handler it defines what must occur for some action to take place. The information inside the brackets determines what action will take place when the event handler is triggered. Different actions have different parameters which are directions that define the specific behavior of the action. The value or what you enter for the parameter defines the behavior. In the case of getURL you need two parameters you need to tell the action what URL to get http and where to open the URL _blank or a new browser window . This code can be broken down into the following components Event Handler Action Parameters on press getURL URL http Target Window _blank In many cases the same thing can be accomplished in several ways attaching a script to a frame instead of an object for example so that all scripts can be in the same location the frame . When the action is attached to a frame instead of a specific button you need to use a different method of scripting to tell the script what button to use and what to do when the button is affected by the user. Note You will use ActionScript beginning in Project 5 when you program an interactive game. Program a Button Behavior ujith Script Assistance Now it s time to make the legend buttons work. The concept is fairly straightforward if the user clicks the Bus button in the legend the user should be able to see the Bus icons appear on the map. The same applies to all 10 buttons in the legend when clicked the associated icons instances should appear on the map of the park. That relationship is established by using the names you applied to each

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
21    69    1    13-05-2024
39    71    1    13-05-2024
Đã 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.