MXML 文件中的未知类
我正在接手一个 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
每个开发人员都可以定义自己的包,在包中插入一些 mxml 或作为类,然后将类导入到代码中。通常,包名称应该是唯一的,并且非正式规则规定,使用您自己的 url 前缀命名您的包 (com.mycompany.MyOwnClassInMXML)
它可以是一个简单的帮助类,用于转换数组中的 5 个数字。
有许多具有不同功能的反编译器。所以尝试另一个或尝试找出他在这堂课上做了什么。
我不知道你的项目有多复杂。出现错误的类是 mxml 吗?如果是,在顶部,您应该找到一个像这样的命名空间
,因此,在代码中的任何地方,某些组件都以而不是 或 开头。尝试找出具有自己前缀的组件的用途,并在可能的情况下将其注释掉。
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
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