2 Replies Latest reply on May 21, 2007 2:34 PM by cluebcke

    Determine type of control used in Flex at runtime

      Suppose there's a button, an image, a text. How would Flex tell or determine what type of control is used through AS3.

      To elaborate:

      If typeofcontrol = "Button" {
      display text "I'm a button";

      if typeofControl = "Label" {
      display text "I'm a Label";