Answered
Type not found: CharacterFormat
I downloaded the latest release of Gumbo SDK (version
4.0.0.5032) and using that as the target SDK (and Flash Player
10.0.0 as required flash player in FlexBuilder), I get the
following errors:
Type was not found or was not a compile-time constant: CharacterFormat
(similar errors for ICharacterFormat, ParagraphFormat).
I've included the above through:
import flashx.textLayout.formats.CharacterFormat;
If I download the latest text layout framework libraries from the Adobe site (zip file called textlayout_framework_p1_111808.zip) and replace the files:
textLayout_conversion.swc
textLayout_core.swc
textLayout_edit.swc
in the <sdk4.0.0.5032>/frameworks/libs folder with the newly downloaded files, I get a different set or errors:
Type was not found or was not a compile-time constant: ChangeElementIdOperation
Access of possibly undefined property id through a reference with static type flashx.textLayout.elements:FlowElement
I've included the above through:
import flashx.textLayout.operations.ChangeElementIdOperation
In my project, I do have to use both CharacterFormat as well as ChangeElementIdOperation. Is there a Gumbo build that will let me use both these classes in my code? Is there any set of swcs I need to download and place at a specific folder in my Flex installation to have code compile correctly ?
Type was not found or was not a compile-time constant: CharacterFormat
(similar errors for ICharacterFormat, ParagraphFormat).
I've included the above through:
import flashx.textLayout.formats.CharacterFormat;
If I download the latest text layout framework libraries from the Adobe site (zip file called textlayout_framework_p1_111808.zip) and replace the files:
textLayout_conversion.swc
textLayout_core.swc
textLayout_edit.swc
in the <sdk4.0.0.5032>/frameworks/libs folder with the newly downloaded files, I get a different set or errors:
Type was not found or was not a compile-time constant: ChangeElementIdOperation
Access of possibly undefined property id through a reference with static type flashx.textLayout.elements:FlowElement
I've included the above through:
import flashx.textLayout.operations.ChangeElementIdOperation
In my project, I do have to use both CharacterFormat as well as ChangeElementIdOperation. Is there a Gumbo build that will let me use both these classes in my code? Is there any set of swcs I need to download and place at a specific folder in my Flex installation to have code compile correctly ?
