Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Go to web page at end of video

Status
Not open for further replies.

pappywes

MIS
Nov 19, 2010
2
US
thread250-1416867

I followed the code suggested in this thread ... got this error message from Flash CS5:

Scene 1, Layer 'Layer 1', Frame 1, Line 9 1151: A conflict exists with definition listenerObject in namespace internal.

Then I noticed that the code was written for AS2 ... I'm using AS3 ... is there an update on this code (using cuePoint) for AS3?

Thanks

Wes Burnett
 
AS3 would be something like:
Code:
import fl.video.MetadataEvent;

flv.addEventListener(MetadataEvent.CUE_POINT, flvCuePoint);

function flvCuePoint(e:MetadataEvent):void {
	switch (e.info.name) {
		case "end" :
			// do something
			break;
	}
}
"flv" is the FlvPlayback component.

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top