Welcome, Guest
  • Author Topic: movie played, goto  (Read 1115 times)

    koko2

    • Server what's that
    • *
    • Posts: 21
      • View Profile
      • Email
    movie played, goto
    « on: 01/24/07, 09:41 »
    Hi

    I have a swf movie that I loaded in.
    On frame one I would like to play the movie and after the movie is finished playing I would like it to go to frame 2, frame 2 will contain other content.

    Is this possible and how can I make this work?

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile

    koko2

    • Server what's that
    • *
    • Posts: 21
      • View Profile
      • Email
    Re: movie played, goto
    « Reply #2 on: 01/24/07, 10:16 »
    thank you

    Andresss

    • Moderator
    • Systems Administrator
    • *****
    • Posts: 738
    • check me out at www.asb-labs.com/blog
      • View Profile
      • asb-labs
      • Email
    Re: movie played, goto
    « Reply #3 on: 01/24/07, 22:05 »
    hello koko2 use this code:

    this.onEnterFrame=function(){
          if(movie_loaded._totalframes==movie_loaded._currentframe){
               //here u unload or do anything when the movie ends playing
         delete this.onEnterFrame
         }

    }
    halemos de flash en espaņol!....wondering about crazy flash experiments?