MXML 文件中的未知类

发布于 2024-10-15 22:10:55 字数 168 浏览 5 评论 0原文

我正在接手一个 Flex / MXML 项目来工作。最后一位程序员丢失了原始源代码,所以我通过反编译器运行它。在主 MXML 文件中,有 3 行返回错误。

IMPORT COM.TURBO.*

我从来没有听说过这个,而且我似乎找不到任何关于它的东西。我认为它是某种插件。有谁知道它是什么?

I am taking over a Flex / MXML project for work. The last programmer lost the original source code so I ran it through a decompiler. In the main MXML file there are 3 lines that return errors.

IMPORT COM.TURBO.*

I've never heard of this and I can't seem to find anything on it. I assume its some kind of plug-in. Does anyone know what it is?

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

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

发布评论

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

评论(1

爱已欠费 2024-10-22 22:10:55

每个开发人员都可以定义自己的包,在包中插入一些 mxml 或作为类,然后将类导入到代码中。通常,包名称应该是唯一的,并且非正式规则规定,使用您自己的 url 前缀命名您的包 (com.mycompany.MyOwnClassInMXML)
它可以是一个简单的帮助类,用于转换数组中的 5 个数字。

有许多具有不同功能的反编译器。所以尝试另一个或尝试找出他在这堂课上做了什么。

我不知道你的项目有多复杂。出现错误的类是 mxml 吗?如果是,在顶部,您应该找到一个像这样的命名空间

xmlns:whatever="com.turbo.*" 

,因此,在代码中的任何地方,某些组件都以而不是 或 开头。尝试找出具有自己前缀的组件的用途,并在可能的情况下将其注释掉。

BR
坦率

Every developper can define his own package, insert in the packages some mxml or as classes and import the class everywhere into code. Normally, the packagenames should be unique and a inoffical rule says, named your package with your own url prefix (com.mycompany.MyOwnClassInMXML)
It can be a simple helperclass for whatever, convert 5 numbers in a array.

There are many decompiler with different power. so try another or try to find out, what he did with this class.

I have no knowledge, how complex your project is. Is the class with the error an mxml? If yes, at the top, you should find a namespace like

xmlns:whatever="com.turbo.*" 

As a result, everywhere in your code, some components start with instead of or . Try to find out for what purpose the component with own prefix is and comment it out, if possible.

BR
Frank

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