# Problem using a button symbol in a custom component

**URL:** <https://forum.kirupa.com/t/problem-using-a-button-symbol-in-a-custom-component/109535>\
**Category:** Uncategorized\
**Created:** [May 6, 2004, 1:43pm UTC](https://forum.kirupa.com/t/problem-using-a-button-symbol-in-a-custom-component/109535 "2004-05-06T13:43:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpbiehn](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mpbiehn](https://forum.kirupa.com/u/mpbiehn)\
**Post date:** [May 6, 2004, 1:43pm UTC](https://forum.kirupa.com/t/problem-using-a-button-symbol-in-a-custom-component/109535/1 "2004-05-06T13:43:41Z")

</div>

Hello,

I’ve been expirementing with creating a component by extending the UIComponent class. I’m having some difficulties when using a symbol of type button. MovieClip symbols and other UI components work great. I’m using the frame 2 asset trick to place my controls and symbols.

When viewing the compiled clip in the authoring environment the button symbol displays. When I test the movie with the compiled clip the button symbol is not visible, but it’s there. I’ve verified by tracing the properties.

If I place the button symbol in the first frame of the component it works. However, I’d like to place it on frame 2 in order to avoid preloading issues.

Clarification - I’m not using the Button component, that works. It’s when I use a symbol of type button. Can a button symbol be used when building components?

Any help would be appreciated.
