# Making Component Invisible in Live Preview

**URL:** <https://forum.kirupa.com/t/making-component-invisible-in-live-preview/296277>\
**Category:** flash\
**Created:** [September 12, 2009, 7:04am UTC](https://forum.kirupa.com/t/making-component-invisible-in-live-preview/296277 "2009-09-12T07:04:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FaisalSaddique](https://avatars.discourse-cdn.com/v4/letter/f/b4bc9f/32.png) [@FaisalSaddique](https://forum.kirupa.com/u/FaisalSaddique)\
**Post date:** [September 12, 2009, 7:04am UTC](https://forum.kirupa.com/t/making-component-invisible-in-live-preview/296277/1 "2009-09-12T07:04:06Z")

</div>

This is probably ridiculously simple, but I can’t figure it out. I’m going through the Adobe Tutorial on Creating ActionScript 3.0 components by Jeff Kamerer. There is a point, which although tangential, I’m obsessing over.

In Part 2 of the tutorial, he creates a prototype before creating the actual component, and somehow, he makes a List component invisible in Live Preview. I have no idea how he is doing this, since the visible property is not editable in the property inspector. You can see his fla [here](http://download.macromedia.com/pub/developer/menubar_prototype.zip). Check out the fla in the Step 3 folder.

This is probably trivial, but I have no idea how he does this. Jeff explains in a reply to a question at the bottom of [this page](http://www.adobe.com/devnet/flash/articles/creating_as3_components_pt2_04.html) that the Lists’ visible property are set to visible=false in the fla, but this is not done in the frame code that he’s created. His function, hideAllMenusExcept(), works, but initially all his Lists have a visible=false property, but I don’t see how he’s doing it.

Sorry for asking what is probably a really trivial question, but I can’t seem to figure it out.
