开发者

package to import for mx:XML

开发者 https://www.devze.com 2023-01-08 01:02 出处:网络
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 tel

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.


Try with <fx:XML (assuming that you are using the default namespaces generated by FB). Also it should stay in <fx:Declarations> area.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号