Skip to main content
July 18, 2009
Question

FLVPLAYBACK - CUE POINT

  • July 18, 2009
  • 1 reply
  • 555 views

is it possible to create an event using the ActionScript cue points at the end of the novie?

(something like "on FINISH...?)

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
July 18, 2009

yes, you can add a cue point wherever you like.  but there's not any need to add one at the end because a complete event is already dispatched.

July 18, 2009

thank you.

this is an actionscript cue point.

i want to trigger a "getURL" when swf get to the end of the move. how do i do it?

kglad
Community Expert
Community Expert
July 18, 2009

if flv is your component's instance name, use:

var lo:Object = new Object();
lo.complete = function(eobj:Object):Void {
getURL("http://www.adobe.com");
}

flv.addEventListener("complete", lo);