2 Replies Latest reply on Jan 22, 2008 10:03 AM by innov8or

    Error 1172 trying to use mx.controls.List class

    innov8or Level 1
      I am trying to write code in Action Script in Flex Builder 3 but I am having trouble using some of the classes in the mx package. When I import like this:

      import mx.managers.PopUpManager;
      import mx.controls.List;
      import flash.display.SimpleButton;

      The SimpleButton imports just fine but for PopUpManager and List, I get these errors:

      1172: Definition mx.managers:PopUpManager could not be found.
      1172: Definition mx.controls:List could not be found.

      Other controls in the mx package seem to be available such as mx.managers.IFocusManager (along with three other interfaces in mx.managers.

      Why is only part of the mx package available?