# The instances in Button cannot be accessed by ActionScript?

**URL:** <https://forum.kirupa.com/t/the-instances-in-button-cannot-be-accessed-by-actionscript/268494>\
**Category:** flash\
**Created:** [August 14, 2008, 3:06pm UTC](https://forum.kirupa.com/t/the-instances-in-button-cannot-be-accessed-by-actionscript/268494 "2008-08-14T15:06:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhangxiaorui](https://avatars.discourse-cdn.com/v4/letter/z/e495f1/32.png) [@zhangxiaorui](https://forum.kirupa.com/u/zhangxiaorui)\
**Post date:** [August 14, 2008, 3:06pm UTC](https://forum.kirupa.com/t/the-instances-in-button-cannot-be-accessed-by-actionscript/268494/1 "2008-08-14T15:06:20Z")

</div>

I have a button in my library. And use a “use” method to create an instance of it.

i did not simply use a stage instance.

And when I try to use myButton.label\_txt, the IDE tells me it’s undefined. But it was just there.

What’s the matter?

( I use the same to a MovieClip and it works)
