2 Replies Latest reply on Mar 22, 2007 1:25 PM by FlashSeve

    Movieclip Frames

    FlashSeve
      This is a code i found so when circle touches the MC it goes to the frame

      onClipEvent (enterFrame) { if (_parent.circle.hitTest (this)) { tellTarget ("_parent.") {gotoAndStop(2);} } }

      But i want it to go to the second frame inside the MC combining it with

      creature.gotoAndStop(2)

      But not at this part

      { if (_parent.circle.hitTest (this))

        • 1. Re: Movieclip Frames
          Sway_foru
          instead of tell target. thould be your.mc.gotoAndStop(2) from what i catch of your code thats what i get atleast.

          you want the mc that is being touched by the circle to go to its 2nd frame
          • 2. Re: Movieclip Frames
            FlashSeve Level 1
            quote:

            Originally posted by: FlashSeve
            This is a code i found so when circle touches the MC it goes to the frame

            onClipEvent (enterFrame) { if (_parent.circle.hitTest (this)) { tellTarget ("_parent.") {gotoAndStop(2);} } }

            But i want it to go to the second frame inside the MC combining it with

            creature.gotoAndStop(2)

            But not at this part

            { if (_parent.circle.hitTest (this))




            I tried that to,this is what i came out with
            onClipEvent (enterFrame) { if (_parent.circle.hitTest (this)) creature.gotoAndPlay(2);}

            there were no errors and im sure all the instances are right