无法解决闪存错误5000:......必须继承的类“的flash.display.MovieClip”闪存、错误、MovieClip、display

2023-09-08 11:46:54 作者:微笑面對未來

我收到以下错误在我的闪存项目 5000:类......必须继承的flash.display.MovieClip',因为它链接到该类型的库元件。 我看着学生及确信,我进口的flash.display.MovieClip和我做。我试图改变基类中的联动的flash.display.MovieClip,但我得到了以下消息:。指定的基类是本地类,并会在播放器在运行时定义它不能被编辑

I'm getting the following error on my flash project 5000: The class ... must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type. I looked at the class and made sure that I import flash.display.MovieClip and I do. I tried to change the base class in the linkage to flash.display.MovieClip but I got the following message: "The base class specified is a native class and will be defined in the player at runtime. It cannot be edited."

我该如何解决这个问题? 提前致谢, 幼狮

How can I fix this issue? Thanks in advance, Kfir

推荐答案

嗯,我刚做了同样的错误,在另一个项目,并决定我应该张贴的解决方案。对于一些奇怪的原因,当项目的引用是无效的,可能会出现此错误。 在我来说,我不得不这样做的就是去文件 - >发布设置 - > FLASH->设置,然后更新所有的路径存在。这解决了我的问题。

Well I just had the same bug in another project and decided that I should post the solution. For some bizarre reason this error may occur when the references of the project are invalid. In my case all I had to do is go to File->Publish Settings->Flash->Settings and update all the paths there. That solved my problem.

我希望这将帮助其他人在那里,也许从闪存队有人会看到这一点,修补这个漏洞。

I hope this will help other people out there and maybe the someone from the flash team will see this and patch this bug.