Sasan7 - Not sure if this is one of those times, but if the widget includes something that requires a library from Flash 10 you will need to change the Flash version target to version 10 in Flex Builder.Sagavathe - If you don't want to modify the widget you can use an asp page that logs into the secure server as a live proxy. You point the kml widget at the asp page and the asp page points to the kml. The other way I have done it for secure sites is to create a Python (or your language of choice)script to download it and schedule it to run in Windows Task Scheduler (or I suppose you could make a CGI script out of it if you wanted to instead of running it as a scheduled task. Another time I ended up writing a Ruby script for a site with more complicated access problems and ran it on a scheduled basis. Most of them were specific to the site because I had to jump through hoops once logged in to get to the kml, but if it just requires http authentication to directly access the file, the asp proxy is probably easiest.Here is part of a basic Python urllib example I just plagiarized so I wouldn't have to think too hard:import urllib params = urllib.urlencode({'username': 'myuser', 'password': 'mypassword'})site = "http://www.mysite.com/login.html"urllib.urlopen(site, params)import <strong class="highlight">urllib</strong>
params = <strong class="highlight">urllib</strong>.urlencode({'username': 'myuser', 'password': 'mypassword'})
site = "http://www.mysite.com/login.html"
<strong class="highlight">urllib</strong>.urlopen(site, params)