Skip to main content
Participant
November 25, 2009
Question

tlf use into flex library project make some errors

  • November 25, 2009
  • 1 reply
  • 714 views

errors:

Description Resource Path Location Type
1046: 找不到类型,或者它不是编译时常数: ContentElement。 SparkWebCommonComponents  Unknown Flex Problem

Description Resource Path Location Type
1046: 找不到类型,或者它不是编译时常数: ElementFormat。 SparkWebCommonComponents  Unknown Flex Problem

Description Resource Path Location Type
1046: 找不到类型,或者它不是编译时常数: FontMetrics。 SparkWebCommonComponents  Unknown Flex Problem

Description Resource Path Location Type
1046: 找不到类型,或者它不是编译时常数: GroupElement。 SparkWebCommonComponents  Unknown Flex Proble

.......................

This topic has been closed for replies.

1 reply

Adobe Employee
November 30, 2009

I can't tell from the description whether these are compile time problems or runtime problems, but you could try checking that your Flex project is marked as a 10.0 or later project, and that when you run the SWF you are running it in a 10.0 or later Player.

In the FlashBuilder, there is a section in the project preferences for "ActionScript (Flex) compile". Make sure that the minimum player is 10.0 or later. If you are using Flex Builder 3, this can be done by turning on the HTML wrapper option, and setting the minimum player there.

Participant
December 2, 2009

thanks