How to make hidden layers or Folder with layers?

Hi professionals!
For my small flash required to make hidden some folders with layers or some layers separately. It is very handy. But I don’t know how to do it. Please tell me AS3 code for it if it is possible to do.
Thanks in advance
Said Babanli