0 Replies Latest reply on Feb 11, 2008 3:31 PM by Vermino2004

    compiled clip  (gotoandplay)

    Vermino2004
      well my experience isn't that great with actionscript 1 and 2 - only had 1 year of C++ so hoping someone can help me out with this problem.

      I'm trying to setup a Flash shopping cart which the user can click on an "add to cart" button (which is a compiled clip) and a view status movieclip will appear and notify the user there is 1 item added to their shopping cart.

      compiled clip = mybutton
      mask = Scene1_frame7

      in actions layer(frame 1) -

      mybutton.addEventListener(MouseEvent.CLICK, buttonClick);

      buttonClick.onPress = function(){
      gotoAndPlay("Scene1_frame7");
      }

      first time posting so i hope i got all the information down that you need to resolve my problem - spent 2 hours trying to figure it out and another hour on forums searching..

      thanks in advance