Reputation: 10242
I am creating an app with Flex 4 using Flash Builder. When I try to use mx:XML
component, I get the error Could not resolve <mx:XML> to a component implementation.
Can any one tell me which package to import to resolve this error.
Upvotes: 0
Views: 673
Reputation: 515
the XML class is in the top level package, so it should be included in your project by default.
The problem is probably to do with the namespace/s that are in use (i.e. the xmlns attributes of your root MXML element)
Some information and possible solutions here and here
Upvotes: 0
Reputation: 5308
Try with <fx:XML
(assuming that you are using the default namespaces generated by FB). Also it should stay in <fx:Declarations>
area.
Upvotes: 3