Skip to main content
Participant
Nov 25, 2009 9:40 AM UTC
Question

tlf use into flex library project make some errors

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Adobe Employee
Nov 30, 2009 5:58 AM UTC

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.

Translate
Participant
Dec 2, 2009 4:54 AM UTC

thanks

Translate