Sure, I just finished writing a blog entry on it:

http://www.phusor.com/index.cfm/2007/2/13/How-you-loop-in-AS3Flex-2-can-affect-layout

--- In [email protected], "Paul Williams" <[EMAIL PROTECTED]> wrote:
>
> Can you post the code for the loop that doesn't work and the one that
> does?
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of TJ Downes
> Sent: Wednesday, February 14, 2007 1:01 PM
> To: [email protected]
> Subject: [flexcoders] Re: Mystery space
> 
>  
> 
> So after "some" more testing I figured out this was due to a for loop
> to set the selectedIndex on the datagrid. I changed this to a for...in
> loop and the issue is no more.
> 
> Maybe someone could explain to me why a for loop would affect
> display/layout? I am still confused why this would be the issue.
> 
> Thanks
> TJ
> 
> --- In [email protected] <mailto:flexcoders%40yahoogroups.com>
> , "TJ Downes" <koldfuzun@> wrote:
> >
> > Anyone experience any issues where Flex just throws extra space into
> the
> > layout, causing elements to jump or get bumped out of their parent
> > containers?
> > 
> > I have this issue with an application and have spent the majority of
> the
> > day trying to resolve it. There are three custom components loaded
> into
> > a TabNavigator (ive tried other layout containers too). The first
> > element has about a 50px space below it when it loads, and on certain
> > events the screen also "jumps". The space does not exist below the
> other
> > two components and they utilize almost the exact same layout and code.
> I
> > have also tried changing the order of these and the same component
> will
> > always behave the same way regardless of the position.
> > 
> > Any help would be greatly appreciated.
> >
>


Reply via email to