Skip to main content
Known Participant
July 16, 2012
Question

Trying to Figure out Error 1119

  • July 16, 2012
  • 1 reply
  • 414 views

I am trying to figure out how to tell if my FLV is done playing or not.  I have imported it in (its on a flash streaming server) so I did FILE -> IMPORT MOVIE.  It works great but I was trying to add this code and this seems to be where my problem is. Has anyone had this problem before and know why or how to fix it? Thanks.

CODE:

arrival_M.addEventListener(VideoEvent.COMPLETE, completePlay);

function completePlay ():void

{

          trace("Movie Done");

}

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
July 16, 2012

1.  you should not import an flv. you should use an flvplayback (or netstream) instance to play it.

2.  if you ignore 1 and if arrival_M is a movieclip, you should just add a callback function to the last frame of its timeline where your flv ends.