# Very weird... empty/non-empty button problem/bug

**URL:** <https://forum.kirupa.com/t/very-weird-empty-non-empty-button-problem-bug/154093>\
**Category:** Uncategorized\
**Created:** [July 6, 2005, 9:33pm UTC](https://forum.kirupa.com/t/very-weird-empty-non-empty-button-problem-bug/154093 "2005-07-06T21:33:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![2nd\_day](https://avatars.discourse-cdn.com/v4/letter/2/a4c791/32.png) [@2nd\_day](https://forum.kirupa.com/u/2nd_day)\
**Post date:** [July 6, 2005, 9:33pm UTC](https://forum.kirupa.com/t/very-weird-empty-non-empty-button-problem-bug/154093/1 "2005-07-06T21:33:13Z")

</div>

hey… i was just messing around when i had this code

```auto
txt.autoSize = "left";
btn.onRelease = function(){
trace("it doesnt work!");
}
btn._width = txt._width;
txt2.autoSize = "left";
btn2.onRelease = function(){
trace("it works!");
}
btn2._width = txt._width;

```

as you have read, the one does work and the other doesnt… that’s quite weird because there almost the same buttons (not movieclips, buttons)… EXCEPT for this: the one that doesnt work is empty (only the hit tab is filled with a shape) and the other one has the up and hit area filled… i attached i fla to make it more clear

who has a good explanation for this problem(/bug)
