# ? about hidden layers while I'm at it

**URL:** https://forum.kirupa.com/t/about-hidden-layers-while-im-at-it/36193
**Category:** flash
**Created:** [November 23, 2003, 4:35pm UTC](https://forum.kirupa.com/t/about-hidden-layers-while-im-at-it/36193 "2003-11-23T16:35:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Lacuna](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@Lacuna](https://forum.kirupa.com/u/Lacuna)
#### Post date: [November 23, 2003, 4:35pm UTC](https://forum.kirupa.com/t/about-hidden-layers-while-im-at-it/36193/1 "2003-11-23T16:35:40Z")

</div>

I was searching for a way to make LAYERS hidden/visible through a/s.

- Example : on click of a btn two layers become hidden while one stays visible. Then upon click of another button the current LAYER becomes hidden and another layer becomes visible…

i was thinking along the lines of…

```php
on (press) {
     this.hidden(layer1);
     this.visible(layer2);
     this.hidden(layer3);
}

```

Which obvoiusly is wrong but I dont know where to start with this. Thanks

~ Seretha :love:
