It worked, though as you've mentioned it's not the best way to do
that :)
btw, it was com.google.maps.overlays.Polygon

On Sep 9, 5:24 pm, Joe <[email protected]> wrote:
> i had a typo. should be:
> var polygon:com.google.maps.extras.xmlparsers.kml.Polygon= new
> com.google.maps.extras.xmlparsers.kml.Polygon(...)
>
> On Sep 9, 10:22 am, Joe <[email protected]> wrote:
>
>
>
> > hi,
>
> > You may try including the full path to avoid the conflict. Though it
> > is a bit ugly.
>
> > For example:
> > var polygon:com.google.maps.extras.xmlparsers.kml:Polygon= new
> > com.google.maps.extras.xmlparsers.kml.Polygon(...)
>
> > On Sep 9, 7:57 am, Nava Carmon <[email protected]> wrote:
>
> > > Hi,
>
> > > I'm trying to integrate KMLParser from extra libraries and when i  
> > > build i have the following error on this piece of code:
>
> > > var polygon:Polygon = new  
> > > Polygon
> > > (getCoordinatesLatLngs
> > > (kmlPolygon.outerBoundaryIs.linearRing.coordinates));
>
> > > Description     Resource        Path    Location        Type
> > > Can not resolve a multiname reference unambiguously.  
> > > com.google.maps.extras.xmlparsers.kml:Polygon (from /Users/navacarmon/
> > > Pangeaflex/libs/3rd party/GoogleMapsAPIUtilityLibrary.swc(com/google/
> > > maps/extras/xmlparsers/kml/Polygon)) and  
> > > com.google.maps.overlays:Polygon (from /Users/navacarmon/Pangeaflex/
> > > libs/3rd party/map_flex_1_16.swc(com/google/maps/overlays/Polygon))  
> > > are available.  Unknown Flex Problem
>
> > > I import:
>
> > >                         import com.google.maps.overlays.Polygon;
> > >                         import com.google.maps.extras.xmlparsers.kml.*;
>
> > > the latter contains a Polygon class, so it's indeed ambiguous. How do  
> > > i integrate it properly?
>
> > > Thanks a lot for your help,
>
> > > Nava
--~--~---------~--~----~------------~-------~--~----~
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