First off is I am making a new website for a friend and am learning tons, but still have a lot of questions. My first question is: Why is it when I make multiple button animations, they can all go off at the same time? My temp page is chemgoof.t35.com If you put the mouse on the house first and then go towards the sun while the house is big, both buttons activate. My ActionScript is
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.nextFrame();
} else {
this.prevFrame();
}
}
for each button. This was to make the movie go backwards when the mouse is out.
The next question… I want to make the house play another animation clip I made when I click it (i.e. house gets big, I click, and all the windows turn other colors one at a time). I have the movie clip with a hit button hidden in a layer of the clip. The whole house is clickable and the windows thing is a separate movie clip. I am a novice at actionscript, but am slowly learning. Any help? Thanks