Hi list,

 

Anyone come across this before?

 

I have a component that needs to re-arrange its children explicitly when it
gets resized, instead of letting Flex handle it.

 

I'm listening for the "effectStart" event where I check for the Resize
effect.

 

I need to pass the "widthTo" property to my component so it can change its
layout.

 

So, I call "captureEndValues()" which states in the docs that it will
calculate the widthTo based on the layout of the new state.

 

This seems to have no affect. It returns NAN.

 

If I explicitly set the "widthTo" property in the effect MXML, no problem.
The problem here is that I need to use a percentageWidth (which has been set
in the state layout).

 

Can anyone lend a hand?

 

Many thanks,

Mike

Reply via email to