I have a Panel with two states. My secondary state has a Button.
I want to add an event listener to this Button,.
However, I canont reference it upon creationComplete. I can only reference it when the app is running and it's state is activated.
Is there a way I can reference this button before it's state actualy appears on the display list ?
I thought the parent Panel's creationComplete would have enabled this ?
How about adding the event listener in the Button creationComplete handler.
If this post answers your question or helps, please mark it as such.
thanks, I worked it out.