Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Flex 3 MXML code that used to compile now is generating compiler errors. See associated file ArrayOfColorsMXML.mxml. The code that causes the error is:
<mx:Array id="myDepthColors">
<mx:Object>0xFFCC33</mx:Object>
<mx:Object>0xFFCC99</mx:Object>
<mx:Object>0xCC9900</mx:Object>
</mx:Array>
The compiler errors are:
C:/stephen/depot/EN/Docs/Flex/gumbo/Big_Book/code/styles/ArrayOfColorsMXML.mxml(6): Error: Component declarations are not allowed here.
<mx:Object>0xFFCC33</mx:Object>
C:/stephen/depot/EN/Docs/Flex/gumbo/Big_Book/code/styles/ArrayOfColorsMXML.mxml(7): Error: Component declarations are not allowed here.
<mx:Object>0xFFCC99</mx:Object>
C:/stephen/depot/EN/Docs/Flex/gumbo/Big_Book/code/styles/ArrayOfColorsMXML.mxml(8): Error: Component declarations are not allowed here.
<mx:Object>0xCC9900</mx:Object>
C:/stephen/depot/EN/Docs/Flex/gumbo/Big_Book/code/styles/ArrayOfColorsMXML.mxml(12): Error: Component declarations are not allowed here.
<mx:Object>red</mx:Object>
C:/stephen/depot/EN/Docs/Flex/gumbo/Big_Book/code/styles/ArrayOfColorsMXML.mxml(13): Error: Component declarations are not allowed here.
<mx:Object>green</mx:Object>