dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: need help...simple sound problem...i bet you know the answer

  1. #1

    Smile

    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

  2. #2
    Senior Member
    Join Date
    Mar 2001
    Posts
    128

    over my head

    but i want to see what your up to

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center