6 Replies Latest reply on Jun 7, 2009 5:36 PM by Ned Murphy

    hiding a layer through action script

    merkk Level 1

      hi all,

       

      I've done some searching and it looks like you cant hide a layer using action script. I'm going to have a page with a lot of form controls on it and when the user clicks the submit button, i want all those controls to go away so that i can display something else.

       

      I really dont want to have to do control._visible = false for every single item. I did see one person saying i could attach those form fields (movieclips) to a parent movieclip, and then just make the parent visibl = false. would that be the best way to hide a bunch of controls without explicitly setting the visability on each movieclip? if so, how do i make something the child of a parent clip?

       

      thanks