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.