0 Replies Latest reply on Mar 2, 2010 1:12 AM by chintal.bade

    problem using combobox

    chintal.bade

      TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::PopUpManagerImpl@49b2361 to mx.managers.IPopUpManager.
      at mx.managers::PopUpManager$/get impl()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\PopUpManager.as:6 8]
      at mx.managers::PopUpManager$/addPopUp()[C:\autobuild\3.2.0\frameworks\projects\framework\sr c\mx\managers\PopUpManager.as:169]
      at mx.controls::ComboBox/getDropdown()[C:\autobuild\3.2.0\frameworks\projects\framework\src\ mx\controls\ComboBox.as:1459]
      at mx.controls::ComboBox/displayDropdown()[C:\autobuild\3.2.0\frameworks\projects\framework\ src\mx\controls\ComboBox.as:1552]
      at mx.controls::ComboBox/downArrowButton_buttonDownHandler()[C:\autobuild\3.2.0\frameworks\p rojects\framework\src\mx\controls\ComboBox.as:1801]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src \mx\core\UIComponent.as:9298]
      at mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::buttonPressed()[C:\autobuild\3.2.0\frameworks\ projects\framework\src\mx\controls\Button.as:2504]
      at mx.controls::Button/mouseDownHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\s rc\mx\controls\Button.as:2750]

       

      I have used a combo box as follows :

       

      <mx:FormItem label="Type" required="false" width="217">

      <mx:ComboBox id="typeInput" width="93">

                <mx:dataProvider>

                     <mx:String>Global</mx:String>

                     <mx:String>Tab</mx:String>

                     <mx:String>Menu</mx:String>

                     <mx:String>Page</mx:String>

                </mx:dataProvider>

           </mx:ComboBox>

      </mx:FormItem> 

       

      this works properly when i run the file individually. But when i embed this swf in another file using SWFLoader component. Sometimes it gives me error as given above

       

      Thanks in advance !!