For what it’s worth I have an example [1] for States in the Examples repo.
[1] https://github.com/yishayw/Examples/tree/States From: Olaf Krueger<mailto:m...@olafkrueger.net> Sent: Tuesday, December 26, 2017 8:39 PM To: users@royale.apache.org<mailto:users@royale.apache.org> Subject: Re: Need help with states Hi guys, the MXML and also the fx:style way works for me. Before asking here I've already thought about a missing bead and so I tried different ways to find out the name of the bead: IDEs CodeCompletion doesn't work cause the bead name doesn't start with "State*". Then I searched the asjs repo but the github search isn't very helpful here. Then I walked through the examples in order to find an example that makes use of states. I found e.g. this [1], but because I didn't found a states related bead that 'enables the states feature' I finally thought such a bead is maybe not needed (against PAYG). So a few questions are left: 1) Maybe I am blind but could somebody point me to the piece of code in this example [1] which 'enables the states feature'. Is it baked-in within other beads or components? 2) I don't understand Piotr's code snippet [2] Why does it work? And what is the relation between styles and states? 3) Are there other ways to find such beads or is a sufficient documentation the one and only solution? In case of the latter: I guess it would be not so hard to automatically put all relevant Royale class names with its doc comments into an e.g. ElasticSearch index. Something like this would make it very easy to search for beads and components by using different full-text search patters... do you think this would be helpful? Thanks for help! Olaf [1] https://github.com/apache/royale-asjs/blob/develop/examples/royale/RoyaleStore/src/main/royale/productsView/ProductCatalogPanel.mxml#L540 [2] https://paste.apache.org/C6GW -- Sent from: http://apache-royale-users.20374.n8.nabble.com/