2 Replies Latest reply on Nov 16, 2009 7:16 AM by Ed Sullivan

    Type error #1034

    selvakumar p

      i have many link buttons in my main page and i have a swf loader in the same.what i am doing is, iam loading different swf files in the loader according to the link button clicked.

      when i run this and click any link button it is working for first time and when i click again, iam getting the following run time error

      TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::HistoryManagerImpl@2dcf629 to mx.managers.IHistoryManager.

      at mx.managers::HistoryManager$/get impl()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\HistoryManager.as :96]

      at mx.managers::HistoryManager$/register()[C:\autobuild\3.2.0\frameworks\projects\framework\ src\mx\managers\HistoryManager.as:134]

      at mx.containers::ViewStack/commitProperties()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\containers\ViewStack.as:649]

      at mx.containers::TabNavigator/commitProperties()[C:\autobuild\3.2.0\frameworks\projects\fra mework\src\mx\containers\TabNavigator.as:504]

      at mx.core::UIComponent/validateProperties()[C:\autobuild\3.2.0\frameworks\projects\framewor k\src\mx\core\UIComponent.as:5807]

      at mx.managers::LayoutManager/validateProperties()[C:\autobuild\3.2.0\frameworks\projects\fr amework\src\mx\managers\LayoutManager.as:539]

      at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:659]

      at Function/http://adobe.com/AS3/2006/builtin::apply()

      at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]

      at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]

      at flash.utils::Timer/_timerDispatch()

      at flash.utils::Timer/tick()

      plz help me