Disabling movie while print prompt is present


I’ve created a drawing game using lineStyle/lineTo methods. Also I’m utilizing the print() function to print which work great. However, when the print dialog is present and is overtop of my “canvas” when pressing print or cancel, the lineTo still wants to respond to clicks. Is there anyway to disable the movie while the print prompt is present? Is there a type of listener? I’ve done a little bit of research with PrintJob() but it doesn’t seem to make sense to use that if I’m only ever print 1 page. Any help?