# Button state onLoad?

**URL:** https://forum.kirupa.com/t/button-state-onload/235160
**Category:** flash
**Created:** [August 8, 2007, 10:12pm UTC](https://forum.kirupa.com/t/button-state-onload/235160 "2007-08-08T22:12:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Tiziano](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@Tiziano](https://forum.kirupa.com/u/Tiziano)
#### Post date: [August 8, 2007, 10:12pm UTC](https://forum.kirupa.com/t/button-state-onload/235160/1 "2007-08-08T22:12:51Z")

</div>

OK, so I have a quite normal button named ‘Home’.  
When the swf loads I’d like this button to be at the ‘Down’ state (aka: selected).

In an actions layer on frame 1 I have this:

```auto
onLoad.home_btn.gotoAndStop("down");

```

While the button does work, it does not start out selected. The button instance is named home\_btn.

Does anyone have a suggestion please?
