Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
In Flash Professional CS5 Essential Training, author Todd Perkins explains the fundamentals of Flash Professional CS5, the industry standard for creating animations and interactive applications for the web, desktop, and mobile devices. This course starts with the basics, such as using the drawing tools to create simple animations, and progresses to automating animation with tweens and adding interactivity with ActionScript. This course also covers how to add sound and video to projects, enhance realism with effects like easing, and publish a project to a variety of platforms. Exercise files are included.
Cue points allow you to associate a time code in a video with the particular action. That means you can use a button to link to a particular part of a video or once the video gets to a particular part, you can trigger some sort of event in Flash and, say, coordinate an animation with a video. There are two types of cue points. There are embedded cue points and ActionScript cue points. As the name implies, the embedded cue points are actually embedded in the metadata of the video and cannot be changed after the video is encoded.
The advantage to embedded cue points is that they can be read by any application that understands that part of the metadata. ActionScript cue points are only readable in the Flash Player, but the advantage to ActionScript cue points is that you can add and remove them after the video is encoded. That's one of the new features in Flash CS5 is the ability to add ActionScript cue points without having to use ActionScript code. So in this movie, we'll look at how to add ActionScript cue points to the FLVPlayback component.
On the Stage here, I've an instance of a movie clip called Video. What I did is wrap that FLVPlayback component inside of a movie clip, so I can apply a Drop Shadow filter to it. So if we want to apply similar effect, just wrap the object inside of a movie clip. So I'll double-click the movie clip to enter its Timeline. You can add cue points by using a seek bar, if you have that set as your skin, with the FLVPplayback component. But it might act a little weird since the video is inside of a movie clip with the filter applied.
If you're having problems, just break apart the video, add the cue points, and then wrap it in a movie again. So let's take a look at how to add the cue points. To add a cue point, click the plus button to add an ActionScript cue point in the Properties panel. That's in the Cue Points section, so you might have to expand it. To change a cue point's name, click on the name once, and then type the desired name. So I'll type growing here. I want that to be at the very beginning of the movie. So I have all zeros there. Let's add the next cue point.
Second cue point will be called picking. This is at one minute and 11 seconds. So in the second set of zeros, change that to 01, and the third set of zeros will be 11. The last set of zeros represent frames. The next cue point will be called extracting. The time code for extracting is 01:48, and bottling at 02:57. And finally, Tasting at 03:12. So those are all of our cue points.
Let's say you wanted to add more information to the cue point. This information can be accessible through ActionScript code. We won't be looking at how to access this data in this movie. We'll look at that in the later movie, but just know that for now, you can associate more data than a time code width of a cue point. If I select the growing cue point, I can click and drag up to show the Parameters area. I can click the plus icon to add parameters to this growing cue point.
Now parameters allow you to associate more data. So I can give information like a description. So I'll type a description in there. For the value, I'll type something like growing olives for olive oil. By doing this, I can associate more information with each cue point. If I wanted to display closed captioning or some other information, I can pretty much write whatever type of data I want in here and associate those with each cue point and access them through ActionScript code.
So to add cue points to the FLVPlayback component, select the component, and add the cue points through the Properties panel.
There are currently no FAQs about Flash Professional CS5 Essential Training.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.