flash going crazy when adding two functions
Posted
by Malfist
on Stack Overflow
See other posts from Stack Overflow
or by Malfist
Published on 2010-03-22T19:44:06Z
Indexed on
2010/03/22
19:51 UTC
Read the original article
Hit count: 528
I'm adding these two functions to a parent class:
public function get topShot():ShotGlass {
return _topShot;
}
public function get bottomShot():ShotGlass {
return _bottomShot;
}
The calls is called BaseEntry and is a subclass of MovieClip.
Once I add these two functions, I get "The class 'class' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type" on all the subclasses.
What's going on?
© Stack Overflow or respective owner