royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject Re: [Royale|FlexJS] Questions about states
Date Thu, 19 Oct 2017 20:06:19 GMT
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 <piotrzarzycki21@gmail.com> 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


Mime
View raw message