From the course: Flash Professional CS5 Essential Training

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Using code snippets to control video

Using code snippets to control video

Using code snippets, you can control video with the FLVPlayback component. So on the Stage here, I have an instance of the FLVPlayback component that has a video and using the buttons that I have created, I am going to control the video, and with the thumbnails, I will click on them and make different videos play. I have actually added part of the interactivity for this already. Let's take a look at what I have in the Flash Player. So I can pause and rewind the video and then click the top two videos to navigate to them. So in this movie, we will add the rest of the functionality for this application. We will make the buttons hide when you roll your mouse out, we will make the movie play when you click the button, and we will make the third thumbnail play the third movie. So let's get started. Let's go to the Actions panel and see what code is there already. So you can scroll through here and see that I have already applied several bits of code. So let's start with the thumbnail. I am…

Contents