Yes, this is a known issue. KML changed namespaces once it became adopted by the OGC, and I haven't found a clean way in E4X to check for nodes in multiple namespaces at once. You can change the namespace in the Namespaces.as file to whatever your KML file uses.
- pamela On Mon, May 18, 2009 at 7:10 AM, hs <[email protected]> wrote: > > I tried to export a simple placemark and path from Google Earth, but > it doesn't seem to work with the KMLParser. The root feature remains > null and it seems like the namespaces in the kml file are slightly > different. > > > On 31 Mrz., 14:37, pamela fox <[email protected]> wrote: >> Hi seho- >> >> The most recent KMLParser is now in the utility >> library:http://code.google.com/p/gmaps-utility-library-flash/wiki/Libraries >> >> - pamela >> >> On Tue, Mar 31, 2009 at 11:02 PM, seho <[email protected]> wrote: >> >> > Hi Pamela, >> > Thanks for your quick response. >> > Yes, they are GroundOverlays in the KML. >> > I assume this is the current KML parser? >> >http://imagine-it.org/google/flashmaps/KMLParser/KMLParser.html >> >> > Thanks! >> >> > On Mar 31, 6:53 am, pamela fox <[email protected]> wrote: >> > > Hi Seho - >> > > Are these GroundOverlay or PhotoOverlay in the KML? >> >> > > If GroundOverlay, I'd recommend modifying the KMLParser demo. It'll be >> > > easier if you can un-compress the KMZ files and just load them in as KML >> > > files, but if you do need to keep them as KMZ files, you could use a >> > > zip-parsing class. There's another thread in the group about that. >> >> > > - pamela >> >> > > On Tue, Mar 31, 2009 at 7:17 AM, seho <[email protected]> wrote: >> >> > > > Hi, >> > > > I have a bunch of separate kmz files that consist of jpg photos >> > > > overlays that I spent a long time fitting into google earth aligning >> > > > properly. >> >> > > > I'd like to show these online, but the google earth plugin is pretty >> > > > bare and doesn't allow for overlay transparency sliders, and makes >> > > > showing several images on a web page difficult because each GE Plug-in >> > > > instance requires so much memory and I don't see a way to select >> > > > between different images like in GE. >> >> > > > So I move on to the Google Maps Flash API. What's the easiest way to >> > > > make several flash swf's of each kmz photo overlay? i see reading >> > > > this group that I could use the kml parser, or take the image out and >> > > > use the GroundOverlay command, but that seems to require re- >> > > > positioning the overlays again. >> >> > > > Any ideas on my best option? >> >> > > > Thanks, sorry if this is a basic question, >> > > > Seho > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
