A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Detect if movie has finished...

  1. #1
    But it still fills prams ivorsmallun's Avatar
    Join Date
    Jul 2001
    Location
    Far Far Away
    Posts
    400

    Detect if movie has finished...

    Is there anyway to detected if the video has finished playing within Flash. Need to start another MC when it's finished...

    Thanks in advance.

    Ivorsmallun...

  2. #2
    AKA [ Paul Bainbridge] webdreamer's Avatar
    Join Date
    Aug 2001
    Location
    Glasgow, Scotland, UK
    Posts
    3,320
    What are you using?
    Flvplayback component or net connection?
    .: To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Twitter - Linkedin
    bringmadeleinehome.com

  3. #3
    But it still fills prams ivorsmallun's Avatar
    Join Date
    Jul 2001
    Location
    Far Far Away
    Posts
    400
    Using net connection. Flv file type...

    Ivorsmallun...

  4. #4
    Odisey Odisey's Avatar
    Join Date
    Apr 2004
    Location
    WV
    Posts
    213
    You should dynamically load the clips using an XML file to populate a list component. You can put as many flvs as you like ... one will play right after the other. Sound like an option?

    Odisey
    Much to learn.... Much to learn....

  5. #5
    Senior Member
    Join Date
    Apr 2002
    Posts
    2,849
    This is the most common question in the Flash video forum, so there are probably quite a few answers to be found if you search, but...

    It can sometimes be tricky to detect with NetStream, but if you look at Flash Help under Netstream.onStatus, there are several events you can track. NetStream.Play.Stop should fire when a movie finishes.

  6. #6
    Senior Member 4romAshz2Flashz's Avatar
    Join Date
    Mar 2004
    Location
    Ontario, Canada
    Posts
    213
    what if your using the flvplayback component and not net connection? I'm using an add listener and it does detect the end cue point...but how do I play the movie again? The loadMovie command creates a black jump.
    Imagination is more important than Knowledge- Albert Einstein

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center