3 Replies Latest reply on Nov 6, 2007 3:46 PM by kglad

    Trouble targetting root in AS3

    IlikeIke
      Hi just having trouble targetting the root for some reason...can't figure out why.

      I have 2 boxes called panelOne and panelTwo that I'm loading from the library. I have a variable called 'someVar' at the root and I want panel2 to trace it's value after it's added to the display list...but when I use root.someVar (or anthing else I can think of) I get the error : 1119 Access of possibly undefined property someVar through a reference... (the line to move panelTwo throws a similar error) Anyone see what I'm doing wrong here?