0 Replies Latest reply on Aug 29, 2007 8:06 AM by Mathewmv

    RichTextEditor Error

    Mathewmv
      RichTextEditor is in a Canvas(A) , the Canvas(A) is in a a SWFLoader(L).. The SWFloader(L) is in another Canvas(B) , The canvas (B) is in the Main Application.

      For the firsttime the the RichTextEditor is displayed correctly. but after closing Canvas(B). if I try to Open the RichTextEditor again.. i get the following error.

      TypeError: Error #1034: Type Coercion failed: cannot convert mx.controls::ToggleButtonBar@a5ef479 to mx.controls.ButtonBar.
      at mx.skins.halo::ButtonBarButtonSkin/mx.skins.halo:ButtonBarButtonSkin::updateDisplayList() [C:\dev\flex_201_gmc\sdk\frameworks\mx\skins\halo\ButtonBarButtonSkin.as:158]
      at mx.skins::ProgrammaticSkin/validateDisplayList()[C:\dev\flex_201_gmc\sdk\frameworks\mx\sk ins\ProgrammaticSkin.as:418]
      at mx.managers::LayoutManager/mx.managers:LayoutManager::validateDisplayList()[C:\dev\flex_2 01_gmc\sdk\frameworks\mx\managers\LayoutManager.as:600]
      at mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation()[C:\dev\flex _201_gmc\sdk\frameworks\mx\managers\LayoutManager.as:655]
      at Function/ http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[C:\dev\flex_201_gmc\sdk\ frameworks\mx\core\UIComponent.as:7909]
      at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[C:\dev\flex_201_gmc\sdk\f rameworks\mx\core\UIComponent.as:7852]