1 Reply Latest reply on Feb 20, 2009 4:56 AM by levancho

    Type error 1034

    markuspedro Level 1
      Hi, I have a big problem..
      I want to load with swfloader an external project that has an accordion on the stage.
      If I execute the swf that i want to load, directly, it run fine, but when i try to load it flex give me this error:

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

      I know the problem is the accordion(when i delete it flex say me nothing).
      Can you give me a solution for this problem?

      Thank you
        • 1. Type error 1034
          levancho Level 3
          thats linking issue sounds like it,

          the only way I know to fix that is to force link IHistoryManager:
          private var dummy:IHistoryManager; (and import IHistoryManager) anywhere in your main app.
          that will fix it.