未知项目被声明为 MXML 文档的根。然后所有新项目创建组件命名空间

发布于 2025-01-02 16:33:47 字数 376 浏览 4 评论 0原文

我正在使用 Flash Builder 4.6

昨天该项目运行良好。现在却没有了。它有这个错误。

An unknown item is declared as the root of your MXML document. Switch to source mode to correct it.

代码很好,因为我将项目导出到另一台也运行 flash builder 的计算机,并且该项目工作正常。

现在,每当我在原来的笔记本电脑中创建一个新项目时,我注意到它添加了一个额外的“组件”命名空间并指向spark.components。

在设计模式下,每当我拖放任何标签时,它都不会显示在设计模式上。

请指教。

I am using Flash Builder 4.6

Yesterday the project is working fine. Now it does not. It has this error.

An unknown item is declared as the root of your MXML document. Switch to source mode to correct it.

The code is fine because i exported the project to another computer also running flash builder and the project works fine.

And now whenever I create a new Project in my original laptop, i noticed that it adds an extra "components" namespace and points to spark.components.

And in design mode, whenever i drag and drop any labels, it is not showing up on the design mode.

Please advise.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

傾旎 2025-01-09 16:33:47

最好的方法是重新安装Flex4或重新安装Adobe Flash builder 4.6

The best way is to reinstall Flex4 or reinstall the Adobe Flash builder 4.6

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文