I would like to load a new movie clip everytime a user rolls over a specific button. I would like to have the new movie clip replace the old movie clip that was displayed when the last button was accessed.
either have specific images for each button rollover with each image loading into the same clipholder or have a random function to decide which image is to be loaded.
for the former
on (rollOver){
loadMovie("some.jpg",holder);
}
You could have a number of numbered movie clips (mc1, mc2, mc3, etc...) stacked one over the other, all set to be invisible to start with, then simply use a counter variable to cycle through each one of those movie clips to make one of them visible on a press of the button...
This would cycle through 5 movie clips, turning off the visibility of the previously displayed movie clip, and turning on the visibility of the next movie clip in line.
Thank you for the quick response. I like the cycle approach. What I thought of doing was placing a function on the root that would receive an identifier for the active button. It would then run a loop that would make all the other MC invisible exept for the one that called the function.
Here is the URL for my flash movie. Unfortunately I cannot get the loop to work, I'm trying to debug it, but it will not go into the loop. I don't get an error so I'm not sure what I've done wrong.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.