In case you are thinking that that was a lot of code just to avoid duplicating an animation and manually keyframing a fade-in or -out, it makes sense when you have a lot of objects to handle. In the case of a maintenance trainer, a serious games application that uses pretty much the same functionality as a point-and-click adventure game, you might have hundreds of objects that all have to fade away after a short animation.