Jump to content
Search Community

How to target embedded parameters in F4v video cue points?

HarryBrook test
Moderator Tag

Recommended Posts

Hi all,

 

Currently I am able to trace the name of my F4V cue points, However I cannot access the parameters and their values. Can anyone help? The flash cue points come from After effects where multiple parameters are being embedded such as position, rotation and opacity.

 

Its been difficult to gain any insight from the documentation so if anyone can help I'd be grateful,

 

Thanks.

 

(p.s. AS3 beginner)

 

videoOne.addEventListener(VideoLoader.VIDEO_CUE_POINT, cuePointHandler);

function cuePointHandler(event:LoaderEvent):void {


  trace("FACE" + event.data.name); // works - this returns the time of the frame, great.

     trace("FACE" + event.data.info.parameters); // This and all my other attempts have failed miserably.

     // With normal flash MetaDataEvent this code would do the trick >> event.info.parameters; 
     // How can this info be targetted with the Greensock VideoLoader??

}


Link to comment
Share on other sites

Yeah, you can look in VideoLoader's code and you'll see that all it does it take the "info" parameter you mentioned and dumps it into the LoaderEvent's "data" property. So the two are identical. It's a direct reference. So maybe there's a problem with your video's cue points (like in the encoding or something)? Just a guess.

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.
×
×
  • Create New...