Menu

NodeSprite error

Help
tomar12
2012-11-10
2013-05-29
  • tomar12

    tomar12 - 2012-11-10

    Hi, I have this error message in Flashbuilder 4.5 which prevents me from importing the NodeSprite into an application.

    -1106: Empty statement found where block of code expected. Did you type ';' accidentally?
    -Line breakpoint: NodeSprite.as

    It is catching this block of code:

    /** The depth of this node in the tree structure. A value of zero
    *  indicates that this is a root node or that there is no tree. */
    public function get depth():uint {
    Line 79  ===> for (var d:uint=0, p:NodeSprite=parentNode; p=null; p=p.parentNode, d++);
    return d;
    }

    Any ideas on how to fix?

    Thanks!

     
  • tomar12

    tomar12 - 2012-11-11

    Never mind, figured it out myself

     

Log in to post a comment.