Calling a child function

Hello!

I’m a newbie with actionscript so bear with me plz :slight_smile:

I’m trying to call a function from a parent to a child, and it’s not working out. It returns:
TypeError: Error #1006: value is not a function.
at as3::Fdotty/frameLoop()

Here’s the code

for (var l:int=0; l<objectsOnBoard; l++)
{
objectArray[l].moveDot(xPosArray[l],yPosArray[l]);
}

it calls this function in the child class

public function moveDot(x1:Number, y1:Number) :void{
x = x1;
y = y1;
}

Any help greatly appreciated!!