0 Replies Latest reply on Sep 6, 2007 4:35 PM by John R Nyquist

    passing mx:Text ref in AS3 (Error #1065)

    John R Nyquist Level 1
      I've got a <mx:Text id="myText"/> in an MXML file.

      On a mouse click I am calling a function where I am trying to pass it to a function in AS3. It is not working, I get Reference Error #1065.

      I'm not sure why this doesn't work. Can't I pass references of things declared in MXML around? Is it not of type mx.controls.Text?