//Brian Milinski while(numChildren > 0) { removeChildAt(0);//remove all children until none are left...clearing the screen } fscommand("EXEC","RUN.bat"); stop(); //stay here until an event is triggered