States cause elements to be added and removed. FWIW, I have found little reason to use States in Royale because setting visible to false causes elements to take up no space. Hence I’ve never really spent time looking into them.
Harbs > On Oct 19, 2017, at 11:02 PM, Piotr Zarzycki <[email protected]> > wrote: > > Hi Guys, > > I'm trying to understand how states are working. I have simple code which > should actually work. I'm using latest FlexJS from develop - not Royale > yet. [1] Am I doing something wrong ? > > Can someone shed some light how internally States are working ? I would > like to debug things, but not sure where to start. > > I have to admit that DataBindingExample where states has been used working > fine in old FlexJS code and Royale. > > [1] https://paste.apache.org/VBTs > > Thanks, > Piotr
