Just a note, At the moment the Kml22 won't be able to parse a compressed kmz file. You'll need to provide an uncompressed kml file to it.
Did you have a look at the KmlLoader class? Should be as simple as loader = new SimpleKmlLoader( map, true ); loader.addEventListener( Event.COMPLETE, loader_completeHandler ); loader.load( "location of your kml" ); then when you need to update it you could do something like, on a timer event or however you plan on updating it: loader.removeFromMap(); loader.load( "location of you kml" ); Get it from here at the moment: svn co http://svn.distriqt.com/public/trunk/gmaps/src/ Michael On Oct 5, 1:46 am, DMacLeod <[email protected]> wrote: > How would I load a kmz file from a local server (GeoServer)? Would I > use the URLLoader class? Do I need to create a kml22 object? Also, my > layer data is very dynamic, is there a way to setup my map to reload > my layers at a given interval? > > Thanks > Dan -- 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.
