Skip navigation
Currently Being Moderated

Trying to Figure out Error 1119

Jul 16, 2012 6:30 AM

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");

}

 
Replies
  • kglad
    63,043 posts
    Jul 21, 2002
    Currently Being Moderated
    Jul 16, 2012 6:58 AM   in reply to TheScarecrow

    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.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points