# Error #1034: Type Coercion failed

**URL:** <https://forum.kirupa.com/t/error-1034-type-coercion-failed/317043>\
**Category:** flash\
**Created:** [December 8, 2010, 8:53pm UTC](https://forum.kirupa.com/t/error-1034-type-coercion-failed/317043 "2010-12-08T20:53:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flash\_back](https://avatars.discourse-cdn.com/v4/letter/f/6a8cbe/32.png) [@flash\_back](https://forum.kirupa.com/u/flash_back)\
**Post date:** [December 8, 2010, 8:53pm UTC](https://forum.kirupa.com/t/error-1034-type-coercion-failed/317043/1 "2010-12-08T20:53:45Z")

</div>

[COLOR=black][FONT=Verdana]Hello all,[/FONT][/COLOR]  
[COLOR=black][FONT=Verdana]I have an Issue I can use some help with… I have a flex file I am trying to load into a game. the projected .swf file works perfect on its own however when I load it into the main file i get:[/FONT][/COLOR]  
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]  
[COLOR=black][FONT=Verdana]TypeError: Error #1034: Type Coercion failed: cannot convert [[COLOR=#22229c]NetworkingPretest@3857161[/COLOR]](mailto:NetworkingPretest@3857161) to mx.core.IUIComponent.  
at mx.managers::SystemManager/initializeTopLevelWindow()  
at mx.managers::SystemManager/[http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()](http://www.adobe.com/2006/flex/mx/internal::docFrameHandler())  
at mx.managers::SystemManager/docFrameListener()  
Cannot display source code at this location.[/FONT][/COLOR]  
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]  
[COLOR=black][FONT=Verdana]This has been driving us crazy… we do have the source and can do what’s necessary or any recomendations… The file was written a while back by someone else…[/FONT][/COLOR]  
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]  
[COLOR=black][FONT=Verdana]Any help would be greatly appreciated.[/FONT][/COLOR]  
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]  
[COLOR=black][FONT=Verdana]flash\_back[/FONT][/COLOR]
