• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 942
  • Last Modified:

Flash 8 Movie Clips

I have a flash file I have been working on with the help of a couple people from this site. Everything was working fine until my boss changed his mind yet again. Right now we have a file that when a user mouses over a symbol the movie clip plays which is just an image that fades in and then fades out when the user mouses off.

What they would like now is for the clip to start playing the movie clips for 10 seconds and then move to the next one unless a user mouses over one of the symbols then it will play that symbol as it does now. So this action should repeat about 30 seconds of no activity.

Can anyone give any guidance on how to do this. Here is a copy of the file http://www.breakaway-marketing.com/swf/test2.fla

Thank you in advance
0
jimseiwert
Asked:
jimseiwert
  • 2
  • 2
1 Solution
 
ddlamCommented:
add a new layer, add the following code to frame 1

function trailer() {
      if (whatdoyoudo._currentframe == wheredoyougo._currentframe && succed._currentframe == whoareyou._currentframe) {
            whatdoyoudo.gotoAndPlay(2);
      } else {
            if (whatdoyoudo._currentframe > 1 && whatdoyoudo._currentframe < 16) {
                  whatdoyoudo.gotoAndPlay(16);
                  wheredoyougo.gotoAndPlay(2);
            }
            if (wheredoyougo._currentframe > 1 && wheredoyougo._currentframe < 16) {
                  wheredoyougo.gotoAndPlay(16);
                  succed.gotoAndPlay(2);
            }
            if (succed._currentframe > 1 && succed._currentframe < 16) {
                  succed.gotoAndPlay(16);
                  whoareyou.gotoAndPlay(2);
            }
            if (whoareyou._currentframe > 1 && whoareyou._currentframe < 16) {
                  whoareyou.gotoAndPlay(16);
                  whatdoyoudo.gotoAndPlay(2);
            }
      }
}
setInterval(trailer,10000);
0
 
jimseiwertAuthor Commented:
I tried it and it works but with one probelm, If the auto play(the code you just wrote) is active a i mouse over a symbol then both movie clips show up the auto play one does not go away or stop playing. Any advise?
0
 
williamcampbellCommented:
Use Two Clips for each Symbol placed on top of each other. When they mouse over play clip #1 and load clip #2. As Clip #2 plays load clip #1 with next movie.
0
 
ddlamCommented:
The better way is put all the motion in single movie clip. So, the movie never stop playing. I can't help at this moment.
0
 
jimseiwertAuthor Commented:
Ok i was able to get most of the movie to work except for the last movie clip, when it goes to the last movie clip it loads for about a second and then starts over. The example is the same link as above
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now