Full Screen SWF

How do i get my SWF to go full screen and when it’s in full screen what code do i use to close it?