Hi,
I use a InfoWindowRenderer based on this example:
https://developers.arcgis.com/flex/sample-code/clustering.htm
When I use this in my example project (for testing) this is working without any problems. So I decided to implement this in my large application.
When I implemented this and click on the cluster, the InfoWindow opens, but when I click on the arrows in the InfoWindow the app crashes...

I used the code based on the example above and implemented this in my large application (inside some mx and spark components). The map is also inside a mx.containers.ViewStack. (the ViewStack where the event can not converted from spark to mx IndexChangeEvent)
Unfortunately, I can not submit you my full application source code. But here is the debug output.


Here is the full debug output text:
TypeError: Error #1034: Type Coercion failed: cannot convert spark.events::IndexChangeEvent@242e4a971 to mx.events.IndexChangedEvent.
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/framework/src/mx/core/UIComponent.as:13682]
at com.esri.ags.components::ContentNavigator/set selectedIndex()
at com.esri.ags.components::ContentNavigator/next()
at com.esri.ags.components::ContentNavigator/nextButton_mouseUpHandler()
It seems that a click on the arrow in the InfoWindow dispatches a spark.events::IndexChangeEvent to the InfoWindow and all parent components but the mx.containers.ViewStack (which is a parent of my map) don't understand a spark.events::indexChangeEvent and want a mx.events.IndexChangeEvent.
I think the IndexChangeEvent doesn't have to be dispatched to all the parent components.
Maybe someone can help.
Thanks
Marcus Fritze