Need a tell layer to hide script

Could someone tell me what the script would be to tell a frame to become hidden and visible using AS3.0
Thanks.