Flex 4 Release Build breaks text editor
I was working on an editor using FB4 beta 2. Fonts were loaded at runtime ... CFF is being used.
In Flex 4 SDK that comes with FB4 beta 2, my spark rich text field sitting in a group in my application looks fine - proper font families applied and renders correctly. My font + style drop down lists are all fine as well.
As soon as I switch to the release SDK, or any SDK later than FB4 beta 2 (well, major releases) the font styles are not longer properly applied to the field. Changes to the family no longer apply to the rich text field.
The rich editable text that I'm using is basically as follows:
<s:RichEditableText id="editor" fontLookup="embeddedCFF" renderingMode="cff"
focusEnabled="false" x="100" y="50" focusIn="focusInEditor(event)" focusOut="focusOutEditor(event)"
width="300" height="200">
<s:textFlow>
<s:TextFlow fontFamily="HelveticaNeueLTStd-MdCn">
<s:p fontFamily="HelveticaNeueLTStd-MdCn" fontSize="14" color="0x999999">Test first line of text</s:p>
<s:p fontFamily="HelveticaNeueLTStd-Blk" fontSize="18" color="0xFFFFFF">Test second line of text</s:p>
</s:TextFlow>
</s:textFlow>
</s:RichEditableText>
That probably isn't too important but I figured I would paste it anyway. I'm using setFormatOfRange primarily and this block of textFlow was only to get some initial content into the text area.
There is a ton of other related code for editing, selection, etc. It seems any font family related change does not get applied.
I know there have been a ton of changes and this may be difficult to pin down. However, this is pretty awkward. The application I was building loaded up fine, fonts loaded up all fine and all editing worked perfectly until going to release SDK.
Is there any change that would cause this to happen?
