Cue It Up

In Flash, there is a method for triggering events and actions called Cue Points, and as I learned today, there is more than one way to incorporate them into your Flash Interactive.

Cue points are points in a video that is running within Flash that allow the Flash Programmer to activate an event or skip to a point in the video based on the current position of the video’s playhead. What that means is, if you have a video running in your Flash file, and you need to activate a fade-in picture of socks when the person in the video says “socks” at 1 minute 33 seconds, you can accomplish this with a cue point.

Up until now, I have only ever had to use cue points on FLV players inside Flash. FLV players are embedded containers for video which can be controlled by built-in play, pause and skip buttons. So when you code cue points for a video inside an FLV player, you are actually controlling the FLV player which in turn can manipulate the video inside it. Now, though, I am using a different type of video holder, because of the need to dynamically load the video while something else is going on. An FLV player just won’t cut it for this task, so we are using the NetStream method. With NS, we have to actually embed our cue points in the video itself when it is being encoded for use in Flash – this means no actionscript to create the points, just to call them. It is a different method, but accomplishes the same thing.

The next time you need a solution for a full motion video that can interact with Flash elements, let us know. DDA will be glad to put Flash’s diverse and powerful tools for interactive media to good use!