Most slide shows that I see are restartable, or will loop on their own. I do not believe what you want is to remove the functionality, but merely to remove the control for a specific time. Upon MOUSE_DOWN or CLICK, you can easily disable the button by using
var slidesContainer:Sprite = new Sprite();
var slideButton:Sprite = new Sprite();
slideButton.graphics.beginFill(0x000000);
slideButton.drawRect(0,0,100,30);
slideButton.endFill();
addChild(slidebutton);
slideButton.addEventListener(MouseEvent.MOUSE_DOWN, onButtonDown);
var slide01:MovieClip = new Slide();
slidesContainer.addChild(slide01);
var slide02:MovieClip = new Slide();
slidesContainer.addChild(slide02);
//Store references to the newly created movieclips in an array.
var arrayOfSlides:Array = [slide01, slide02];
var currentSlide:int = 0;
function onBtnDown(e:MouseEvent):void
{
TweenLite.to(arrayOfSlides[currentSlide], 1, {alpha: 0});
e.target.mouseEnabled = false; //The button that was pressed down is the target
currentSlide++;
}
This way we merely make the object invisible and disable it's mouse functionality.
It is a great idea to prepare objects for Garbage Collection when not needed, but it is important to know what you want to do with your work. If you wish to never use the object again, remove any references by setting to null. If you exporting to flash player 10, there is the unloadAndStop method that greatly helps in completely removing items and prepping for GC.
If you plan on reusing things, as in your slideshow restarting after a certain amount of time, etc, you would merely set the visiblity and mouseEnabled properties of the buttons back to true.
Brian Hodge blog.hodgedev.com hodgedev.com