-
the problem...trying to make a scene where sound 'x' changes to sound 'y' when you drag movie 'a' onto movie 'b' by combining the hitTest action of the movies with the changing of the sounds, so when the movie clips touch, the sound changes.
looks something like this:
onClipEvent (enterFrame) {
if (this.hitTest(_root.house)==true) {
carSound.start(0,99);
} else {
dogSound.start(0,99);
}
}
also: i tested and even this won't work:
onClipEvent (enterFrame) {
dogSound.start(0,99);
}
now i'm thinking maybe the onClipEvent thing won't control sounds because it's continuously checking and they'd just overlap endlessly...
any ideas, suggestions??
thanks alot
cc
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|