# Hide layers?

**URL:** <https://forum.kirupa.com/t/hide-layers/12561>\
**Category:** Uncategorized\
**Created:** [February 1, 2003, 7:16pm UTC](https://forum.kirupa.com/t/hide-layers/12561 "2003-02-01T19:16:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sw0L\_z](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@Sw0L\_z](https://forum.kirupa.com/u/Sw0L_z)\
**Post date:** [February 1, 2003, 7:16pm UTC](https://forum.kirupa.com/t/hide-layers/12561/1 "2003-02-01T19:16:26Z")

</div>

is there a way with action script to hide certain layers so they are not visible at points in your movie? like OnClipEvent or on (release) … does anyone know?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 1, 2003, 8:37pm UTC](https://forum.kirupa.com/t/hide-layers/12561/2 "2003-02-01T20:37:05Z")

</div>

HELP!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 1, 2003, 8:40pm UTC](https://forum.kirupa.com/t/hide-layers/12561/3 "2003-02-01T20:40:27Z")

</div>

Yeah, just apply this script to the object you want to hide:

```php
onClipEvent (load) {
	_visible = false;
}

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 1, 2003, 8:56pm UTC](https://forum.kirupa.com/t/hide-layers/12561/4 "2003-02-01T20:56:10Z")

</div>

umm… he means certain layers not objects!  
But I think you’re gonna have to hide the objects one-by-one… :-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 1, 2003, 9:01pm UTC](https://forum.kirupa.com/t/hide-layers/12561/5 "2003-02-01T21:01:37Z")

</div>

I knew what he meant, but it’s not possible to hide an entire layer so since he wanted something like an onClipEvent, that’s the best way I know is with the \_visible property.
