Question
How do I reference an embedded cue point with AS?
I've looked for a solution to this in many forums and also in
Flash help, but can't quite get the response I need.
I've embedded a cue point when encoding a video. The name of the cue point is cuePtEnd, time is 00:00:06.00 (6 secs), and type is Event. I did not define any parameters.
I'm attaching a video dynamically using NetConnection and NetStream, i.e. I'm not using components. My video loads and plays and all the video buttons work fine as well. I want my video to return to the beginning and stop when I click a button and/or cuePtEnd is reached. I've tried using seek(0), but this returns the video to the beginning and starts playing again.
I'm using the following code to activate something else on stage when cuePtEnd is reached and it works; however, the only reason this code works is because I've embedded only one cue point in my video file. How do I reference a specific cue point and not the first cue point that Flash finds in my video file?
I've embedded a cue point when encoding a video. The name of the cue point is cuePtEnd, time is 00:00:06.00 (6 secs), and type is Event. I did not define any parameters.
I'm attaching a video dynamically using NetConnection and NetStream, i.e. I'm not using components. My video loads and plays and all the video buttons work fine as well. I want my video to return to the beginning and stop when I click a button and/or cuePtEnd is reached. I've tried using seek(0), but this returns the video to the beginning and starts playing again.
I'm using the following code to activate something else on stage when cuePtEnd is reached and it works; however, the only reason this code works is because I've embedded only one cue point in my video file. How do I reference a specific cue point and not the first cue point that Flash finds in my video file?