FORUMS: list search recent posts

Help Still Needed for FLV Cue Points - Please

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Bob Caligiuri
Help Still Needed for FLV Cue Points - Please
on Nov 18, 2005 at 6:48:46 am

I still trying to find a solution to my issue. I'll try to simplify the problem:

I place a "seek to next cue point" script on a button to Forward of Rewind the FLV. The button does advace to the next cue point but the video goes black. I can still hear the audio but no picture.

I'm wondering if the nextFrame() command is messing it up?

Any help please - Lee, anyone??

Here is my current script Lee helped me with (modified and passed on to Rallim):

Here's what I did for my project:

// this script in a script channel in same frame as video

This script on the Flash Playback instance (you wont need the time code reader and my_ta script I used to verify the cue points

//start script
var my_ta:mx.controls.TextArea;
my_flvPb.contentPath = "07Katzman.flv";
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object) {
my_ta.text += ": "+my_flvPb.playheadTime+"n";
my_flvPb.addEventListener("cuePoint", listenerObject);
// end

Thanks Again... Bob

Return to posts index

Bob Caligiuri
Action Script Question
on Nov 18, 2005 at 7:33:31 am

Just an idea...

Does it make sense to use an "if" statement to identify the current time code, in order to sync frames to cue points. If so, what would the AS version of this logic:

during video playback
if the time code is > 120 seconds and < 300 secons then
go to frame x

This way if I use the built in slider control, the "if" statement will check the time code range and jump to the correct frame.

Considering I have the "stop()" in one channel and the "listener and nextFrame()" script in the video channel, where would the "if" statement go?


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved