0 Replies Latest reply on Oct 9, 2007 7:51 AM by Kamera-chan

    Library movie clip not readable

    Kamera-chan
      I apologize if this seems like a stupid question, but I've only been using flash for a month, and I've been teaching myself how. I'm attempting to make a simple interactive clip where an onscreen icon performs an action when clicked on. Since it's a graphic, I created the movie clip in the library. When I go to reference it in actionscript (AS3), the code doesn't seem to recognize what I'm doing. The code being used is this:

      function onclick(event:MouseEvent):void{
      gotoAndPlay('Click');
      }
      your_mc.addEventListener(MouseEvent.CLICK, onclick);

      'Click' is the label of the frame I want it to jump to. If necessary, I could convert it into Actionscript 2. Thanks in advanced!