5 Replies Latest reply: Mar 9, 2014 11:16 PM by kchandu5200 RSS

    cannot convert fl.events::ComponentEvent@db1b999 to fl.events.ComponentEvent

    sivacse24rep Community Member

      Hi,

       

      I have 2 swf (parent and child). I used few flash component on my child swf.When the parent.swf loading the child.swf, I missed to add LoaderContext on my parent.So i got error which is already posted "http://forums.adobe.com/message/6142608#6142608" . I dont have any solution for that.So i decide replace few component with custom component. I replace scrollpane and combobox. other flash components remin same(like button,checkbox,radiobutton). Some times i got the following issue

       

      TypeError: Error #1034: Type Coercion failed: cannot convert fl.events::ComponentEvent@db1b999 to fl.events.ComponentEvent.

          at flash.events::EventDispatcher/dispatchEventFunction()

          at flash.events::EventDispatcher/dispatchEvent()

          at fl.core::UIComponent/set visible()

          at fl.containers::BaseScrollPane/drawLayout()

          at fl.containers::ScrollPane/drawLayout()

          at fl.containers::BaseScrollPane/draw()

          at fl.containers::ScrollPane/draw()

          at fl.core::UIComponent/callLaterDispatcher()

       

       

      I dont know which component making this error? what is the error mean by? I try with "try...catch" but i am not able to catch it. How to solve this issue. if solution is not possible means how to catch the issue?

       

       

       

       

       

       

       

      Thanks,

      Siva