Hi, I�??m trying to toggle between a dynamic map (with no lods) and a tiled map service (with lods) then back again. Going from the dynamic to tile map service is fine, however after going back and clearing the map lods (map.lods = null) I get exceptions when panning/zomming:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.esri.ags.components::Navigation/map_extentChangeHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at com.esri.ags::Map/tweenEndHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at MoveResize/enterFrameHandler()
This �??feature�?� worked with the Flex 1.x API, so is there another way to do this in the Flex 2.x API or will this simply no longer work. I have attached a Flex 1.x example and a Flex 2.x example. Any ideas how this can be done in Flex 2.x beta? Thanks, Darcy
... View more