You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2021/01/23 20:02:31 UTC

[GitHub] [royale-asjs] Bilbosax commented on issue #1062: Skinning

Bilbosax commented on issue #1062:
URL: https://github.com/apache/royale-asjs/issues/1062#issuecomment-766171136


   Brilliant yishayw, thank you.  I will basically just create a button as an mxml component with states.  I only have two small problems with this approach that you could quickly help me with.'
   
   1) If you are using VS Code, could you share your asconfig.json file with me?  I have been able to get the mx library recognized by VS Code, but I can't for the life of me figure out how to get it to include the spark components as well like those you used in your button.
   
   2) 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 that can hear events dispatched from other components?
   
   Thanks for your insights!


----------------------------------------------------------------
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:
users@infra.apache.org