RTE in TLF ContainerControl.as
I have a project which uses a RichEditableText component with a textflow markup with some images (SWF). Sometimes, i'm not sure exactly what triggers this problem, I run into a null reference exception inside ContainerControl.as. This is where things go wrong starting from line 3178:
while (containerListIndex == -1 && floatIndex > 0)
{
floatIndex--;
floatInfo = _composedFloats[floatIndex - 1];
containerListIndex = _floatsInContainer.indexOf(floatInfo.graphic);
}
In the above scenario, floatInfo is null when the NRE happens.
For now I will just add some more logic to verify whether floatInfo== null.
I'm using the latest TLF framework classes (released in february 3 2011, with Flex SDK 4.5.0.19786)
