0 Replies Latest reply on Mar 13, 2008 2:08 PM by t_elmore

    Using Code Behind Technique and Popups

      I am starting to use the code-behind technique a bit more lately and have run into a problem.

      If I try to open a popup using a class that has a separate mxml and backing .as file, I get a null object reference.

      var pu : PopupClass = PopupClass(PopUpManager.createPopUp(this, PopupClass, true))

      where PopupClass.mxml extends PopupClassCode.as (which in turns extends BaseForm which extends DragPanel)

      Has anyone successfully done what I'm trying to do? It seems that it should be easy.