Question
There is no method with the name 'getNextHighestDepth'.
I have this code functioning in the first frame of a move but
I am now
trying to incorporate it into a class file
I am getting the error "There is no method with the name
'getNextHighestDepth'."
here is my code:
var lvl:Number = 0;
function
createColorClip(MyLblPosition,dsplyColor,dsplyX,dsplyY,dsplyW,dsplyH,ClipName)
{
lvl = this.getNextHighestDepth();
this.createEmptyMovieClip(ClipName, lvl);
same error
this.createEmptyMovieClip(ClipName, this.getNextHighestDepth(););
....
I have read that I need to import mx.core.UIObjects but this class already
extends another class and simply including the UIObjects is not enough .
any Ideas?
trying to incorporate it into a class file
I am getting the error "There is no method with the name
'getNextHighestDepth'."
here is my code:
var lvl:Number = 0;
function
createColorClip(MyLblPosition,dsplyColor,dsplyX,dsplyY,dsplyW,dsplyH,ClipName)
{
lvl = this.getNextHighestDepth();
this.createEmptyMovieClip(ClipName, lvl);
same error
this.createEmptyMovieClip(ClipName, this.getNextHighestDepth(););
....
I have read that I need to import mx.core.UIObjects but this class already
extends another class and simply including the UIObjects is not enough .
any Ideas?