Oh, thanks, Pamela.

Subscribing to MapEvent.MAP_READY solved the problem (it would be
great to add this somehow to the API reference ;) ).

On 19 мар, 02:49, pamela fox <[email protected]> wrote:
> Hi CPR.AL-
>
> You have to have an initialized Map before you can use the
> ClientGeocoder (or any API classes).
>
> - pamela
>
> On Thu, Mar 19, 2009 at 10:45 AM, [CPR]-AL.exe <[email protected]> wrote:
>
> > i'm trying this code:
>
> > -------
> > import com.google.maps.services.*
> > var geocoder:ClientGeocoder = new ClientGeocoder()
> > -------
>
> > I've got the run-time output:
> > -------
> > TypeError: Error #1009: Call to property or method with a reference
> > to"null" object
> >        at com.google.maps.services::ClientGeocoder()
> >        at Untitled_fla::MainTimeline/frame1()
> > -------
>
> > Seems, that the GeoCoder is broken in 1.8...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to