10 Replies Latest reply: Sep 12, 2013 8:33 AM by iBabs2 RSS

    Trying to get a movie clip to go both up and down depending on which button gets clicked

    iBabs2 Community Member

      hello,

       

      I have a file with 5 movie clips in it. I have a button that when clicks, plays each one. One of the movie clips needs to move both up and down and I am having a lot of trouble with this.

       

      stop();

       

       

      function showVenue(Event:MouseEvent):void

      {

                mc_speaker.play();

      }

      function showSpeaker(Event:MouseEvent):void

      {

                mc_compliance.play();

      }

      function showCompliance(Event:MouseEvent):void

      {

                mc_strategic.play();

                mc_data.play();

      }

       

       

      function showStrategic(Event:MouseEvent):void

      {

       

       

                mc_data.gotoAndPlay("down");

      }

      function showData(Event:MouseEvent):void

      {

       

       

                mc_data.gotoAndPlay("up");

      }

       

       

       

       

      btn_viewMore_Venue.addEventListener(MouseEvent.CLICK, showVenue);

       

       

      btn_viewMore_Speaker.addEventListener(MouseEvent.CLICK, showSpeaker);

       

       

      btn_viewMore_Complinace.addEventListener(MouseEvent.CLICK, showCompliance);

       

       

      btn_viewMore_Strategic.addEventListener(MouseEvent.CLICK, showStrategic);

       

       

      btn_viewMore_Data.addEventListener(MouseEvent.CLICK, showData);

       

       

      Is there anyway to attach my file here for someone to look at???

       

      thanks!
      babs