Here is the title error with complete paths:
\\\\psf\\Home\\Dropbox\\Development\\Repositories\\GIT\\i-cc\\Powerhouse\\Notes\\master\\flash\\lib\\libnote\\
I had this same issue. This might seem stupid (i'm new to AS3), but having this:
class test extends shape {
caused the issue.
I changed it to
class test extends sprite {
and the issue was resolved.
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
{
...
}
Check your Action script settings and the path. There are chances that it may not be pointing to the correct file.
For others who may come across this:
Am doing an assignment for my university course and so am very new to flash.
The error went away for me after I added extends flash.display.MovieClip
to the end of my class declaration.
For example:
public class MyClassName extends flash.display.MovieClip
For others who find this page, the error
5000: The class '..' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type
often appears when you have other problems somewhere in your project. Look at the Problems tab in Flash Builder and fix any other errors first.
The 5000 error may go away when the other issues are fixed.
If you want to add the other functionality (onAddedToStage()
etc), extend the class coming from the swc. Something like:
public class NotesCoreEx extends NotesCore
{
...
}