# Two questions

**URL:** <https://forum.kirupa.com/t/two-questions/220786>\
**Category:** Uncategorized\
**Created:** [March 29, 2007, 7:55am UTC](https://forum.kirupa.com/t/two-questions/220786 "2007-03-29T07:55:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chemgoof](https://avatars.discourse-cdn.com/v4/letter/c/90ced4/32.png) [@chemgoof](https://forum.kirupa.com/u/chemgoof)\
**Post date:** [March 29, 2007, 7:55am UTC](https://forum.kirupa.com/t/two-questions/220786/1 "2007-03-29T07:55:27Z")

</div>

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](http://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
