Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Put a <RadioButtonGroup /> at the root of an application (instead of in a <Declarations> block) and compile.
Actual Results:
Error: In initializer for 'mxmlContentFactory', type spark.components.RadioButtonGroup is not assignable to target type Array or target element type mx.core.IVisualElement.
Expected Results:
It would be easier for people hitting this problem to solve it if it said something like "RadioButtonGroup needs to in a Declarations section."
Workaround (if any):