Answered
Type Coercion failed - error
Hi,
I use a ModuleLoader to load/unload mxml modules. One of these modules contains TextFlows. When this module gets loaded everything is fine and the textFlow displays fine.
However, when I unload() the module and load() again I get the following error:
Error #1034: Type Coercion failed: cannot convert flashx.textLayout.container::DisplayObjectContainerController@8f6e1a1 to flashx.textLayout.container.IInternalContainerController.
Here is the code i use:
I use a ModuleLoader to load/unload mxml modules. One of these modules contains TextFlows. When this module gets loaded everything is fine and the textFlow displays fine.
However, when I unload() the module and load() again I get the following error:
Error #1034: Type Coercion failed: cannot convert flashx.textLayout.container::DisplayObjectContainerController@8f6e1a1 to flashx.textLayout.container.IInternalContainerController.
Here is the code i use:
