FORUMS: list search recent posts

Cue points Paramters Output into Flash

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Steven Stanczak
Cue points Paramters Output into Flash
on Jun 18, 2012 at 8:22:18 am

Hey,

I've been busy with a link between after effect en flash. I've seen a method of exporting a movie (flv) with cue points that contains parameters such as:
- Position
- Rotation
- Corner pins
- Blur etc

What I did till now:
1) Simply tacked a movie and applied the data to a corner pin. So the recorded data are: Object Position and Corner Pin Positions (top left and right, bottom left and right.

2)The I converted all data to Markers by selecting all data and by using the script: Convert Selected Properties to Markers.

3)Renderd the Composition out to a .flv.

4)Imported the flv into flash and add a piece of code to read the cuepoints:

import fl.video.MetadataEvent;
my_FLVPlybk.addEventListener(MetadataEvent.CUE_POINT, fl_CuePointHandler);

function fl_CuePointHandler(event:MetadataEvent):void
{
trace("Elapsed time in seconds: " + my_FLVPlybk.playheadTime);
trace("Cue point name is: " + event.info.name);
trace("Cue point type is: " + event.info.type);
trace("Cue point value is: " + event.info.value);
}

stop();


Now here comes the problem. The code works and I'm able to read the cuepoints:
- Name
- Time
- and Type

But I'm unable to output the Parameters information & Value of the corner pins.



I've tried several options to output the Transform_Position parameter but I end up getting:

Elapsed time in seconds: 0
Cue point name is: 0
Cue point type is: event
Cue point value is: undefined

My goal is to output this information and link that information to a object.


Hope I explained it well and that there's someone able to help me out.


Greets,
Steven


Return to posts index

Steven Stanczak
Re: Cue points Paramters Output into Flash
on Jun 18, 2012 at 9:11:17 am

And if I use:

trace("Cue point value is: " + event.info.parameters);

I get:

Elapsed time in seconds: 6.64
Cue point name is: 6.64
Cue point type is: event
Cue point value is:


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]