On 11/25/14, 5:29 PM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote:
>The elements that appear lower in MXML need to appear higher in the >display >order. But introducing States seems to be messing up the order. > >Any idea what's happening here? Which class(es) would I look to debug and >fix this issue. I’ll bet the relativeTo in org.apache.flex.states.AddItems isn’t being set or handled properly. I’ve not done any testing of overlapping elements. AddItems and its friends SetProperty and SetEventHandler are just data objects in FlexJS and can be interpreted in different ways by different States implementations. The only one right now is org.apache.core.SimpleStatesImpl so its code is probably the place to look to see how relativeTo is working. -Alex