On 3/15/15, 10:42 PM, "jude" <flexcapaci...@gmail.com> wrote:

>OK so we would add an overrides array on UIComponent and when the state is
>changing check for any overrides and apply them?

No idea exactly what to do here.  I think there are several choices:
-Adding another property to UIComponent
-Adding a data structure(s) to the MXML document
-Adding a data structure(s) to the instance’s MXML document.

The main downside of the first is that all UIComponent instances carry the
extra property regardless of whether they are actually involved in this
pseudo-states scheme.  All three still have the challenge of when it is
the component’s skin and not the actual component that changes state.

>Then in the compiler when
>we encounter a pseudo state attribute we add these to the instance's
>overrides array?

For sure, the compiler needs to build up an array of overrides.

-Alex

Reply via email to