Flash Q

  • Started
  • Last post
  • 1 Response
  • skonge

    I have 4 buttons in a scene. I use one to bring up a submenu that is a movie clip using

    on (release) {
    this.attachMovie("mc_sub-menu", "mc_submenu", 2);
    }

    that works fine, but when I click another button in the scene i need this movie clip to disappear. I have tried removeMovieClip but its not working. Any thoughts?

    Thanks

  • unfittoprint0

    try this instead on an action layer [name your buttons]:

    //attach Button
    myButton1.onPress = function(){
    attachMovie("mc_submenu","mc_sub...
    }

    //erase Button
    myButton2.onPress = function(){
    mc_submenu.removeMovieClip();
    }