1 person found this helpful
encode each button to trigger the corresponding movieclip to play.
I can get each button to play the corresponding movie. After the movie plays, however, I would like the movie to automaticaly revert to the home state.
In this way, the user could randomly click around on the image, triggering various movies when the appropriate buttons are hit. I have seen this done many times- I remember an an image of a hanunted house, for example. When the user clicked on a window, it would open and a ghost would look out. Without having to then click a home button, a further click on the door of the house would cause the door to open, and a mummy to lean out. I'm trying to avodi having to repeatedly hit a "home" button before additional button hits could trigger additional movie clips.
I should probably mention that I've had to insert a stop command at the end of each movie clip, otherwise all the animations play sequentially, rather than one at a time, when a button is clicked. How do I tell Flash to procede from this stop command, at the end of each movie, back to home, so that further buttons can be pushed?
Sorry if I've misunderstood your posting- I've been animating for several years on Flash, but have only started several days ago to use Actionscript 3 for interactivity, and am a complete novice, in that regard.
on the first frame of your movieclips there should be a stop().
on that first frame your frog, for example, would not be visible but on subsequent frames would tween into view and then tween out of view, stopping on frame 1 after its timeline completes play.