A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Multiple Movie Controls

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Posts
    5

    Multiple Movie Controls

    I am using the latest Koolmoves (5.2.5) and wanted to see if it is possible to run multiple movies on a page with a single controll to continue all the movies at the same time.
    The needed setup,
    1. I have three movies.
    2. There are 20 fromes per each movie.
    3. They are running in sync and have related information.
    4. On frame 5, 10, 15 & 20 I stop the movie so the user can view the information about the product.

    Is there a way to have a click to continue that will start all 3 movies at the same time?

    Thank you for any help on this.

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Assuming you have a button in the root movie, and the three movies are called mc1 mc2 and mc3

    on(release){
    mc1.gotoAndPlay(11)
    mc2.gotoAndPlay(11)
    mc3.gotoAndPlay(11)
    }


    Quote Originally Posted by shamrock1
    I am using the latest Koolmoves (5.2.5) and wanted to see if it is possible to run multiple movies on a page with a single controll to continue all the movies at the same time.
    The needed setup,
    1. I have three movies.
    2. There are 20 fromes per each movie.
    3. They are running in sync and have related information.
    4. On frame 5, 10, 15 & 20 I stop the movie so the user can view the information about the product.

    Is there a way to have a click to continue that will start all 3 movies at the same time?

    Thank you for any help on this.

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    5.2.5 is not the latest version. Use Help > Update Software.

  4. #4
    Junior Member
    Join Date
    Apr 2006
    Posts
    5
    I'm not sure I full understand. If I just have the three movies, mc1 mc2 and mc3, can I put a button on mc2 that will start all three again?

  5. #5
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    if you put it on a child movie like mc2 then the references are different

    _parent.mc1.gotoAndPlay
    _parent.mc3.gotoAndPlay
    this.gotoAndPlay

  6. #6
    Junior Member
    Join Date
    Apr 2006
    Posts
    5
    OK let me see if I got this straight,

    I will be calling seperate swf files so is the following correct,
    _parent.mc1.swf.gotoAndPlay
    _parent.mc3.swf.gotoAndPlay

  7. #7
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Quote Originally Posted by shamrock1
    OK let me see if I got this straight,

    I will be calling seperate swf files so is the following correct,
    _parent.mc1.swf.gotoAndPlay
    _parent.mc3.swf.gotoAndPlay
    uh no.... where the swf come from..... I'm going to guess what you are saying is that the movies are loaded swf's that you put in the movie when editing. The KM interface would have named them something like mc1 mc3 etc... so it's still just _parent.mc1.gotoAndPlay(n) where n is the frame number or the frame name as a string.

  8. #8
    Junior Member
    Join Date
    Apr 2006
    Posts
    5
    They are three seperate swf files running on a single html page.

  9. #9
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Oh that's a horse of a different color.

    That requires something called "localConnection" do a search there was some sample code on the forum at some point.

  10. #10
    Junior Member
    Join Date
    Apr 2006
    Posts
    5
    blanius,

    Thank you for you time and information provided. I looked at the localconnection and that is exactly what I need.

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