Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 337

P Note: If you need to adjust the time of any of the cue points, you can click and drag over the time or click to enter a time with millisecond precision. 8 Continue playing the video and pause it when the zoo director says, “… click on a sound.” 9 In the Properties inspector, add a third cue point and rename it soundcue. The third cue point should be at the 14-second mark. P Note: In the Properties inspector, double-click any cue point in the Type column and your video on the Stage will immediately jump to that particular cue point. 10 Continue playing the video until it reaches the end. In the Properties inspector, add a fourth cue point and rename it endcue. P Note: To delete a cue point, select it in the Properties inspector and click the Minus sign. detecting and responding to cue points Now you’ll add the ActionScript to detect the cue points and respond to them. The Code Snippets panel can help do much of the ActionScript coding. 1 Open the Code Snippets panel (Window > Code Snippets). 2 Expand the Audio and Video folder in the Code Snippets panel and select the On Cue Point Event option. The On Cue Point Event code snippet triggers a function whenever a cue point is detected. 328 Lesson 8 Working with sound and Video