1 Reply Latest reply on Jan 21, 2009 2:08 AM by johnypeter

    Dynamic TextInput component

    W_Bell Level 1
      Well it is time to use this TextInput as a Labe but I am not sure if I need all of this code as it seems to run without the first line. I execute this from a button. Can anybody tell me if the syntax is correct and if it needs the first line or is that an older MX thing?

      var Main_Cat_txt:mx.controls.TextInput;
      _root.Main_Cat_txt.text = "Home Page";