# Hide buttons on load/run

**URL:** <https://forum.kirupa.com/t/hide-buttons-on-load-run/301266>\
**Category:** flash\
**Created:** [December 6, 2009, 3:48pm UTC](https://forum.kirupa.com/t/hide-buttons-on-load-run/301266 "2009-12-06T15:48:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nall](https://avatars.discourse-cdn.com/v4/letter/n/b782af/32.png) [@Nall](https://forum.kirupa.com/u/Nall)\
**Post date:** [December 6, 2009, 3:48pm UTC](https://forum.kirupa.com/t/hide-buttons-on-load-run/301266/1 "2009-12-06T15:48:49Z")

</div>

I’ve been trying to build an application in flash whereby everything is held on a single frame (the different ‘screens’ held on seperate layers). My problem is that I want to hide some buttons and other things when the application loads but I can’t find anything on it. I have tried an onEnterFrame (AS3 addEventListener(Event.ENTER\_FRAME) ) but that didn’t hide anything. I tried just having the button.visible = false but that didn’t seem to work either. It’s probably a stupid question, it’s very likely I’ve missed something in the properties window or something basic, I’m rather new to AS3 and have been working on this for a couple of days now without any success.
