Error: "method is unknown for mx.core:UIComponent" when compiling custom Form Guide in Flex Builder
Issue
When compiling your custom Form Guide code in Adobe Flex Builder, you may receive the following error:
- Method is unknown for mx.core:UIComponent
Reason
You have not disabled strict type checking for your Flex Builder project, so it is matching the wrong definition for the wrapper class.
Solution
Disable strict type checking.
- In Flex Builder, right-click your Flex project from the hierarchy on the left.
- Click Flex Compiler.
- Deselect the Enable Strict Type Checking option.
- Click OK.
Additional Information
For customizing Form Guides using Flex Builder, please follow the "Customizing Form Guides Using Flex Builder" guide available here under the section "Creating form guides."
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
