ProblemYou want to clear a video display. SolutionCall the clear( ) method of the Video object. DiscussionWhen you close a NetStream object, it doesn't automatically clear the video display. The last frame of the video remains visible in the Video object until you either remove the Video object or call the clear( ) method. The following example clears a Video object by calling the clear( ) method. video.clear( ); You can remove a Video object from the display list by way of removeChild( ). removeChild(video); |