首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 媒体动画 > flex >

Flex 四:The default property contents must be contiguous

2012-08-25 
Flex 4:The default property contents must be contiguousIn Flash Builder 4, when tried to create a M

Flex 4:The default property contents must be contiguous

In Flash Builder 4, when tried to create a MXML component and instantiate it in the main MXML application, I?found that the "Outline" explorer is not displaying the correct tree view anymore, instead it displayed excalmatory marks for each of the components' icon:
Flex 四:The default property contents must be contiguous


And when I?switched to the design view in the MXML editor, it failed to render the preview and showed an error message "The default property contents must be contiguous":
Flex 四:The default property contents must be contiguous


However, when I?compiled and run the application, everything looked OK. I?think this was just an error for the Flash Builder 4 failing to parse and render the outline and preview. The code which was generating such error looks like this:




Note that the "s:layout" from the spark library is also a non-visual component, so it can't be placed between any of the visual components neither, otherwise the same error would occur.

?

from:http://www.inluck.net/Blog/Flash-Builder-4-error-The-default-property-contents-must-be-contiguous

热点排行