Playing a clip in the main scene

I have a question…I have tried & tired but can’t seem to figure out what I am doing wrong…

Problem:
I have a christmas tree… with gifts underneath the tree. There is a teddy bear hanging on the tree. What I want to do… is make the teddy bear say “hey no” & wave it’s arms when the blue gift is clicked.

Presently:
—I have invisible drag buttons as the gifts under the tree. They can be drag anywhere on the screen. They work.
—I have a symbol(movie clip) name teddyBear that moves its arms in my library. This symbol has several key frames with a “stop();” in the first frame of the symbol. The symbol is also presently on the main stage.

Question:
What kind of code do I use, so that when I click on the blue gift…the teddyBear clip will move & talk?? I am assuming I put the code in with the symbol of the blue gift??? (right/wrong)??

Any help will be appreciated.

Thanks

Well, you’ll have to do your little aimation in the teddy bear clip. Let’s say you label the first frame of the animation nonono, then you should put that kind of code on the blue gift:

on (press) {
  teddyBear.gotoAndPlay("nonono");
}

pom :slight_smile: