I think you should also be able to just include SimpleStatesImpl in the list of 
<beads>.

But it looks like it’s missing from the component list, so it can’t be normally 
declared in MXML. I assume this is an oversight and should be fixed.

Harbs

> On Dec 26, 2017, at 1:10 AM, Piotr Zarzycki <[email protected]> wrote:
> 
> Hi Olaf,
> 
> You are missing bead SimpleStatesImpl, which need to be added in the 
> following way [1]
> 
> [1] https://paste.apache.org/C6GW <https://paste.apache.org/C6GW>
> 
> Thanks, Piotr :)
> 
> 
> 2017-12-25 23:42 GMT+01:00 Olaf Krueger <[email protected] 
> <mailto:[email protected]>>:
> Hi,
> I am trying to change the text of a TextButton by using states [1] but the
> text of the button is always empty.
> I've tried several things but nothing works for me.
> It seems to me that that the value of currentState is set correctly, but it
> doesn't have any effect on the properties of the components?
> 
> Thanks,
> Olaf
> 
> [1] https://gist.github.com/ok-at-github/f521e91fe95bf5b3b03eddcc48e87f40 
> <https://gist.github.com/ok-at-github/f521e91fe95bf5b3b03eddcc48e87f40>
> 
> 
> 
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/ 
> <http://apache-royale-users.20374.n8.nabble.com/>
> 
> 
> 
> -- 
> Piotr Zarzycki 
> 
> Patreon: https://www.patreon.com/piotrzarzycki 
> <https://www.patreon.com/piotrzarzycki>

Reply via email to