Hi guys
I have 2 classes:
class Player{
function Player()
{
super()
directionStack = new DirectionStacker()
}
}
and
class DirectionStack extends Player{
function DirectionStack()
{ }
}
does an infinite loop happen there? What I read in the Flash help (that comes with the software) is that you need to call super() if you want to call your superclass’s constructor. But in this code, am I automatically going to the superclass’s constructor? I’m getting this message:
256 levels of recursion were exceeded in one action list.
This is probably an infinite loop.
Further execution of actions has been disabled in this movie.