0 Replies Latest reply on Oct 20, 2009 2:29 PM by Zolotoj

    Error with Repeater

    Zolotoj Level 3

      I am designing Repeater "allAvailableLabels"

      <?xml version="1.0" encoding="utf-8"?>

      <mx:Repeater xmlns:fx="http://ns.adobe.com/mxml/2009" recycleChildren="false"

      xmlns:s="library://ns.adobe.com/flex/spark"

      xmlns:mx="library://ns.adobe.com/flex/halo">

      <s:Button/>

      </mx:Repeater>

      Implementation:
      var popupWindow:TitleWindow = new TitleWindow; 
      popupWindow = c.showPopupWindow(DisplayObject(FlexGlobals.topLevelApplication), allAvailableLabels);
      When this code runs I am getting:
      ReferenceError: Error #1065: Variable http://www.adobe.com/2006/flex/mx/internal::setDocumentDescriptor is not defined.
      at allAvailableLabels/initialize()
      at mx.managers.systemClasses::ChildManager/childAdded()[E:\dev\gumbo_beta2\frameworks\projec ts\framework\src\mx\managers\systemClasses\ChildManager.as:176]
      at mx.managers::SystemManager/addChildAt()[E:\dev\gumbo_beta2\frameworks\projects\framework\ src\mx\managers\SystemManager.as:1604]
      at mx.managers::SystemManager/addChild()[E:\dev\gumbo_beta2\frameworks\projects\framework\sr c\mx\managers\SystemManager.as:1587]
      at mx.managers::PopUpManagerImpl/addPopUp()[E:\dev\gumbo_beta2\frameworks\projects\framework \src\mx\managers\PopUpManagerImpl.as:332]
      at mx.managers::PopUpManagerImpl/createPopUp()[E:\dev\gumbo_beta2\frameworks\projects\framew ork\src\mx\managers\PopUpManagerImpl.as:231]
      at mx.managers::PopUpManager$/createPopUp()[E:\dev\gumbo_beta2\frameworks\projects\framework \src\mx\managers\PopUpManager.as:134]
      at modulecode::Classes/showPopupWindow()[H:\projects\sfcs\UFDCommonLib\src\modulecode\Classe s.as:209]
      at MaintainLawLabels/showAllAvailableLabels()[H:\projects\sfcs\LawLabelMaintain\src\Maintain LawLabels.mxml:68]
      at MaintainLawLabels/___MaintainLawLabels_Button2_click()[H:\projects\sfcs\LawLabelMaintain\ src\MaintainLawLabels.mxml:83]
      Any idea what that is?