Hi Ganesh- When there is no sample code for your exact purpose, then you should look to find what code is similar, start from that, and then add in features. There are various examples in the demo gallery of XML parsing that you can start from.
Debugging advice- Read this chapter on Flex debugging: http://www.manning.com/ahmed/Flex3-sample-chapter-23.pdf Download Firebug, so that you can look at the HTTP NET requests. Always attach functions to error events so that you can find out why a call to a server (e.g. to load the XML file) didn't succeed. On Tue, Jun 2, 2009 at 10:18 AM, Ganesh prabu Chandrababu <[email protected]> wrote: > > > hi , > Thank u verymuch for ur reply. but i want to take lat,lon values > from xml file and put it in array and want to pass that array to > createpolygon method as parameter. From there i need to split the array and > i have to draw polygon. In the same way i need to overlay more polygons. Can > u pls send any sample code. Moreover am not able to debug the file using > flexbuilder. They suggested one solution by installing flash player 9 debug > version. But i installed and tried, still am not able to debug. Can u give > some debugging tips or the procedure for debugging.Thanks in advance. > >> >> Hi Gani- >> >> There is no sample code that does exactly that, but it shouldn't be >> difficult. >> >> You can combine code from the following examples: >> >> >> http://gmaps-samples-flash.googlecode.com/svn/trunk/examples/PolygonSimple.html >> >> >> http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/XmlParsingDemo/XmlParsingDemo.html >> >> - pamela >> >> On Tue, May 19, 2009 at 4:26 AM, gani <[email protected]> wrote: >> > >> > Hi all, >> > >> > I want to overlay a group of polygons by taking lat,lon values from >> > the xml file. >> > Can you please give me a sample code.(am using google maps flash api, >> > flex builder IDE and mxml) >> > >> > Thanks >> > Ganeshprabu. >> > > >> > >> > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
