tailieunhanh - Adobe Flash CS3: The Professional Portfolio- P59

Adobe Flash CS3: The Professional Portfolio- P59: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 | 8. Select the Text tool from the Tools panel. 9. In the Properties Inspector change the type to Dynamic Text. 1 0. Draw a text area on the Stage. 1 1. Type showBytes in the Instance Name field. Dynamic text areas typically receive their content from a script. Like movie clips dynamic text areas must be named before they can be addressed in code. 1 2. Choose a sans-serif font such as Helvetica or Arial. Set the type size to 12 choose white FFFFFF as the text color and choose the centered paragraph alignment option. 1 3. Change the area to 200 pixels wide and 25 pixels high. Align the area to the horizontal center of the Stage and position it vertically below the clock instance. Note After drawing the dynamic text area it might take a second or two before the Instance Name field appears in the Properties Inspector. In the next exercise you will use ActionScript to define the content of this text area. 1 4. Save the file and continue to the next exercise. P PROGRAM R PR LORD R SCRIPT__ Your file now has nine extra frames at the beginning before the talking kid appears. You still need to add the content in the dynamic text area which requires ActionScript programming. To calculate the percent of a file that has already downloaded you need to write code that determines the overall size of the file and the amount of data that has already downloaded. Both of these are functions of the overall download process so both can be accessed as properties of the ProgressEvent object. 1. With open select Frame 1 of the Preloader layer and open the Actions panel. Project ó To Iking Kid Site Intro 2. Type on line 1 of the script pane. A loaderinfo object contains information about file download. Because you assigned the root as the target path for the loaderinfo property the event listener refers to the download process for the main timeline in other words the whole movie. Note nJ Actions