A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: Wait until finish...problem with child movie

  1. #1
    damned...
    Join Date
    Jan 2004
    Location
    France
    Posts
    104

    Wait until finish...problem with child movie

    Hi gurus,

    I'm trying to run a child movie, and once it's finished, I want to run another child movie that is not visible at the begining. Both are declared in the main movie...
    But...all the movies are playing together...they don't wait their turn..
    I tried to use the "wait until finish" button (event) or the "stop when finished" or "hide when finished" or "stop until played"...does not matter...always the same problem...

    Do you have an idea ? thx
    Aie aie aie...

  2. #2
    Ride 'em FISHY! neederofhelp's Avatar
    Join Date
    Oct 2003
    Location
    I Forgot!
    Posts
    217
    try putting a stop and hide element action for the child movie that you want to wait at the very beginning of your movie.
    Dan

    Oops. I broke it.... again.

  3. #3
    damned...
    Join Date
    Jan 2004
    Location
    France
    Posts
    104

    I tried so many combinations..

    And I don't find a way to proceed...
    If I have 2 scenes, the second is begining before the first movie is finished, even if I call the second scene (in the main) only at the end of the first child movie. Even if I put a stop movie in a third scene between the two scenes....

  4. #4
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

    example here

    Look at this example:
    http://bretlanius.com/flash/movie_178.html

    Includes Source file to download.

  5. #5
    damned...
    Join Date
    Jan 2004
    Location
    France
    Posts
    104

    thanks Blanius

    I checked your example and finally I did it after with the scenes !
    damned...

  6. #6
    Junior Member
    Join Date
    Jun 2002
    Posts
    9
    Quote Originally Posted by blanius
    Look at this example:
    http://bretlanius.com/flash/movie_178.html

    Includes Source file to download.
    Hello Bret,

    I have exactly the same problem as Glops, so I was very interested in your example. Unfortunately I could not find it any more by following the link you provided.

    Could you please publish it once more?

  7. #7
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    sorry, that post was over 4 years ago... No longer have that file, I don't even have 3dfa any longer.

  8. #8
    Junior Member
    Join Date
    Jun 2002
    Posts
    9
    Anyone else who can help me out here? Glops perhaps?

    It is hard to believe that such a simple requirement can be so hard to resolve. I have already lost an enormous amount of time searching, but I still have no solution. I'm getting desperate...
    Last edited by luc.de.cauwer; 09-29-2008 at 09:42 AM.

  9. #9
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    this help? 3dfa 3.5

    Quote Originally Posted by luc.de.cauwer
    Anyone else who can help me out here? Glops perhaps?

    It is hard to believe that such a simple requirement can be so hard to resolve. I have already lost an enormous amount of time searching, but I still have no solution. I'm getting desperate...
    Attached Files Attached Files

  10. #10
    Junior Member
    Join Date
    Jun 2002
    Posts
    9
    Thank you for your examples, but as far as I can see, you start the child movies by clicking on buttons, and that is exactly what I do not want to do. The whole movie has to run unattended, first playing child movie 1, and when that one is finished, playing child movie 2.

    My problem is: how can I make my main movie wait until the first child movie has finished, before playing the second one (without human interaction)?

  11. #11
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    one possible way

    Quote Originally Posted by luc.de.cauwer
    Thank you for your examples, but as far as I can see, you start the child movies by clicking on buttons, and that is exactly what I do not want to do. The whole movie has to run unattended, first playing child movie 1, and when that one is finished, playing child movie 2.

    My problem is: how can I make my main movie wait until the first child movie has finished, before playing the second one (without human interaction)?
    Attached Files Attached Files

  12. #12
    Junior Member
    Join Date
    Jun 2002
    Posts
    9
    I am sorry, I appreciate your efforts to help me, but it looks as if you did not understand my problem.

    You start child movie 1, wait for a fixed delay of 10 seconds, and then start child movie 2. What I need is that child movie 2 starts automatically as soon as child movie 1 is finished, and I do not know in advance what the length is of child movie 1.

  13. #13
    Junior Member
    Join Date
    Jun 2002
    Posts
    9
    Hello Rui,

    While your examples were not really an answer to the question I posted here, the script in one of them helped me solve another problem. Thank you!

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