Jernome> After looking through the source code to how it works...
Jernome> it is not a bug
Jerome> :p... my mistake

Jerome> What's happening is the tab navigator doesn't create all
Jerome> the children because the property "creationPolicy" is set
Jerome> to "auto" the Flex framework checks to see if the Jerome>
property "target" is true ( in your case text1, text2 and
Jerome> text3 and others )... because they are not true (
Jerome> basically not initialized/created yet ) it sets it to it's
Jerome> parent ( of course the parent is the TitleWindow ) and
Jerome> because you are setting the property "visible" to false...
Jerome> that's what gives you the illusion that it just crashes :p...
Jerome> and this also leads to a memory leak

Jeroem> solution is to set the property "creationPolicy" on your
Jerome> tab navigator to "all"

Jerome> oh well... learned from my mistake :p

Jerome> hope it helps like others have above me

Join the club!

I thought the same thing you did. But, after several hours of
debugging I realised that my components weren't being created. I was
all happy I had found a bug. But, then I remembered that this had
happened to me when using Openlaszlo. So, I decided to read the user
manual. Those are always right. We always tend to skip them, but we
really have to read them. That is when I found that out.

Anyway, good you found it.

All the best,

Fidel.

Reply via email to