Maybe try a “Hello World” example and see how computedFormat gets computed?

On 12/9/14, 12:55 PM, "Harbs" <harbs.li...@gmail.com> wrote:

>A bit more:
>
>It looks like things are going off in
>FlowLeafElement.doComputeTextLayoutFormat()
>
>formatForCascade is null…
>
>On Dec 9, 2014, at 10:47 PM, Harbs <harbs.li...@gmail.com> wrote:
>
>> I could use some help:
>> 
>> I’m getting a weird RTE when trying to get the computedFormat of a
>>SpanElement. This is the stack trace in the TLF classes:
>> 
>> TypeError: Error #2007: Parameter digitCase must be non-null.
>>      at flash.text.engine::ElementFormat/set digitCase()
>>      at 
>>flashx.textLayout.elements::FlowLeafElement$/http://ns.adobe.com/textLayo
>>ut/internal/2008::computeElementFormatHelper()[/Users/harbs/Documents/Apa
>>cheFlex/flex-tlf/textLayout/src/flashx/textLayout/elements/FlowLeafElemen
>>t.as:447]
>>      at 
>>flashx.textLayout.elements::FlowLeafElement/http://ns.adobe.com/textLayou
>>t/internal/2008::computeElementFormat()[/Users/harbs/Documents/ApacheFlex
>>/flex-tlf/textLayout/src/flashx/textLayout/elements/FlowLeafElement.as:38
>>2]
>>      at flashx.textLayout.elements::FlowLeafElement/get
>>computedFormat()[/Users/harbs/Documents/ApacheFlex/flex-tlf/textLayout/sr
>>c/flashx/textLayout/elements/FlowLeafElement.as:564]
>> 
>> The error is on this line:
>>                      format.digitCase                        = 
>> computedFormat.digitCase;
>> 
>> where format.digitCase was “default” and computedFormat.digitCase is
>>undefined.
>> 
>> The only lead I have is that this is for a paragraph terminator span,
>>and I’m guessing that something might have not been initialized
>>correctly. I’m assuming that this is something that I messed up with my
>>tables work...
>> 
>> Thoughts anyone?
>> 
>> Harbs
>

Reply via email to