# Action that hide certain layer?

**URL:** https://forum.kirupa.com/t/action-that-hide-certain-layer/96682
**Category:** Uncategorized
**Created:** [December 12, 2003, 7:22am UTC](https://forum.kirupa.com/t/action-that-hide-certain-layer/96682 "2003-12-12T07:22:20Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![teddywish](https://avatars.discourse-cdn.com/v4/letter/t/48db29/32.png) [@teddywish](https://forum.kirupa.com/u/teddywish)
#### Post date: [December 12, 2003, 7:22am UTC](https://forum.kirupa.com/t/action-that-hide-certain-layer/96682/1 "2003-12-12T07:22:20Z")

</div>

suppose i have 2 frames (a & b) with 2 layers, is there any action or method that can hide layer 1 in frame a but hide layer 2 in frame b?

thanks

---

<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: [December 12, 2003, 9:03am UTC](https://forum.kirupa.com/t/action-that-hide-certain-layer/96682/2 "2003-12-12T09:03:42Z")

</div>

you can’t hide individual frames or layers, however you can make it a movieclip and use this code:

```auto

myMC._visible = false;

```
