Bilbosax edited a comment on issue #1062:
URL: https://github.com/apache/royale-asjs/issues/1062#issuecomment-768530919
@yishayw I have created a button component, but I cannot figure out how to
get it's click event heard OUTSIDE of the component by another MXML component.
If I want to dispatch an event from one component that I want heard in another
component in Flex, I always added my eventlisteners to the stage like this:
systemManager.stage.addEventListener("someEvent", someMethod);
This does not work in Royale. How can I attach listeners in an mxml
component in Royale that can hear events dispatched from other components?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]