Adobe Flash CS3: The Professional Portfolio- P71: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. Add a line to the script that defines the browse function using the following code function browse euent MouseEuent uoid The browse function is called by the MOUSE_UP mouse event so the function parameter is event MouseEvent. McuseEvent .H XJSE_UF browse function browse event MouseEvent void 7. Place the insertion point between the braces of the function and press Return Enter twice. function browse event HouseEvent void I 8. On the empty line 19 between the opening and closing function braces add the switch conditional statement using the following code switch The switch conditional statement allows you to define different actions within a single function. The condition refers to the name property of the target instance that triggered the function in other words the specific instance the user clicked to call the function . If a user clicks the passes_btn instance for example the switch parameter is passes_btn. 18 19 20 function browse event MouseEvent void switch J 9. Place the insertion point between the braces of the switch statement and press Return Enter twice. function browse event HouseEvent void switch 1 0- Type the following code on the empty line 20 between the switch statement braces case home_btn gotoRndStopl home In plain English this line of code says If the switch condition is home_btn move the playhead to the frame labeled home and then stop. function brews event MouseEvent void switch case hoxae_Jbtn gotoAndStcp home 1 1. Press Return Enter and type break on line 21. The break statement simply tells the function to stop processing once the appropriate case has been identified. B function browse event MouseEvent void switch case home_btnM gotoAndStop hare break Note In the gotoAndStop function the frame label must be enclosed within quotation marks. I Project 8 Seabreeze UUeb Site 337 1 2. Press Return Enter .