The Error?
5000: the class "TestFile" must be subclass "flash.display.MovieClip" since it is linked to a library symbol of that type.
What's Happening?
This error occurs when you have linked an object from your library using the linkage/Export for ActionScript method but failed to inherit the properties of the class you're targeting.
Solution?
You need to import your classes properly inside your actionscript file.
package {
import flash.display.MovieClip;
public class TestFile extends MovieClip {
import flash.display.MovieClip;
public class TestFile extends MovieClip {
Tip
Always make sure you import your classes when using external actionscript files.
This post is tagged AS3, Errors, Flash CS3, flex
Share This Post
Jobs


























One Comment
hmm.. Im getting this errror using alternativa3D on Flash CS4 (but on CS3 works fine). Well, this helped me to understand a bit. Thanks
Incoming Links
Leave a Reply