5000: The class '..' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type

前端 未结 7 604
梦如初夏
梦如初夏 2021-01-13 00:15

Here is the title error with complete paths:

\\\\psf\\Home\\Dropbox\\Development\\Repositories\\GIT\\i-cc\\Powerhouse\\Notes\\master\\flash\\lib\\libnote\\         


        
7条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-13 00:26

    In one of your library classes (prob an SWC), do you have an asset with the export name of NotesCore? I think the compiler's getting mixed up here - It's trying to resolve 2 separate classes with the same name.

    If you want to add the other functionality (onAddedToStage() etc), extend the class coming from the swc. Something like:

    public class NotesCoreEx extends NotesCore
    {
    ...
    }
    

提交回复
热议问题