5 Replies Latest reply on Apr 19, 2014 7:40 AM by kglad

    Movie Clip Visible After 5 sec

    mandar vedak Level 1

      Hello,

       

      I have 3 Movie clips foam1, foam2, foam3

       

      they have to visible after 5 sec on hit test with scratch movieclip

       

       

      scratch.onEnterFrame = function() {

          this.startDrag(true);

      };

       

      scratch.onRollOver = function() {

          if (this.hitTest(_root.soap1)) {

          foam1.gotoAndPlay(2);

          }

       

                 else if(this.hitTest(_root.soap2)) {

          foam2.gotoAndPlay(2);

                }

       

                else if (this.hitTest(_root.soap3)) {

          foam3.gotoAndPlay(2);

                }

      };