Jump to content
GreenSock

icekomo

accessing cue points

Recommended Posts

I can't seem to figure out how to access cue points in a flv being called in from xml.

I feel like I'm sure close to figuring this one out, but seem to be stuck in this area.

I am able trace when the cue point hits in the video but i'm not sure how to advance the the movie to another cue point.

Here is the method that the cue point triggers.

 

private function rabiVideo(event:LoaderEvent):void {

trace("cue point");

if (event.data.name=="Loop") {

trace("Loop");

//_currentVideo.seekToNavCuePoint("NoStart");

//_currentVideo.play();

}

}

the trace loop works, but not the seekToNavCuePoint....

the commented out code isn't working.. any suggestions?

 

Thanks!

Link to comment
Share on other sites

That's because VideoLoader doesn't have a seekToNavCuePoint() method. But I just uploaded a new version that adds two methods:

 

gotoVideoCuePoint()

getCuePointTime()

 

Those should give you what you need :) The ASDocs are updated too.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×