6 Replies Latest reply on Apr 17, 2009 7:31 AM by wurdup

    nextFrame() help

    wurdup Level 1

      I have a picture (as movie clip) that is: scene1.site.friends_btn.pic1_friends

       

      in this clip frame 1 is a picture frame 2 is another picture. I trying to get it to change to the picture in frame 2 when clicked.

       

      I tried:

       

      onPress = function() {

          nextFrame();


      }

       

       

      in the action script in pic1_friends. I have also tried in the script of the site

       

      friends_btn.pic1_friends.onPress = function() {

       

      friends_btn.pic1_friends.nextFrame();

       

      }

       

       

       

      The cursor changes when you hover over the picture but doesn't change when clicked. What am I doing wrong?

       

       

      *edit

       

      Seems to be a problem with the mouse press. I put a trace command in there and nothing happens.