A couple of things come to mind.
The first is where is the MXML component and when is it instantiated? If it is in the 2nd, 3rd, etc. view of a navigator container, and creationPolicy for the container is not set to "all" (and it should not be set to "all" in some cases), then this error can occur.
If the MXML component is created based on the data returned, is it being created either in the data service result handler or at least in a method called from the result handler? Flex data calls are in general asynchronous, so you can't issue a data call send() and assume the data has been received and execute something after the send() that depends on the data.
Not sure if this helps, but this is what comes to mind.
If this post answers your question or helps, please mark it as such. Thanks!
Adobe Flex Development and Support Services
I appreciate the quick response. The google map component is inside an mx:Accordion and is the first s:NavigatorContent which all is inside an outter mx:TabNavigator shell. The MXML component (MainContainer) holds all of this and is first instantiated inside my main application class as the following:
<local:MainContainer id="mainContent" top="0" height="100%"/>
The Main is of course called first, then the MainContainer which then the GoogleMap is the first inline of the tabs and accordions so it is called. The instance of MainContainer is actually created in the constructor of my Actionscript class, but in the result handler I call the MainContainer function which is then suppose to use the ArrayCollection form a get function in the Actionscript class to help overlay markers on the map.
It seems since I call the new MainContainer() inside my Actionscript class it would make it the second or possibly third instance of MainContainer and it seems only the first instance which was called from the Main has the components available to play with.
The creationPolicy for MainContainer is not set to "all" and nor is it for the navigator container, but the map is the first component called. Thanks again.