1 Reply Latest reply on Jun 9, 2007 8:12 PM by kglad

    Accessing Buttons with in mc's using actionscript

    powelly007
      Hi, I have a button in a movie that activates a mc. by turning its visibility from false to true. Whilst the movie is in its true state, how do I then use a button with in the mc. to turn the visibility of the mc. to false again.

      Thanks.
        • 1. Re: Accessing Buttons with in mc's using actionscript
          kglad Adobe Community Professional & MVP
          you need to know the path from your button to the movieclip that you want to target. if you place

          trace("button "+this)

          on the timeline that contains the button, and

          trace("mc "+this)

          on the movieclip's timeline that you want to control, you can see the path from one to the other. if you are confused, post the results of those trace() functions.