Here is a small example:
StartButton and StopButton are 2 buttons on the stage.
FlashEffComponentInstanceName is the instance name of the component.
StartButton.addEventListener(MouseEvent.CLICK,function1);
public function1(s:MouseEvent):void {
FlashEffComponentInstanceName.show()
}
StopButton.addEventListener(MouseEvent.CLICK,function2);
public function2(s:MouseEvent):void {
FlashEffComponentInstanceName.removeEffect()
}