Solved! Go to Solution.
http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/#intro_devenvfirst line on the page, "When developing with the ArcGIS API for JavaScript, a web server is required."Easy to overlook? Yes. But it's documented. You'll encounter situations like this often.cheers.Derek, I'm 100% certain that that passage wasn't there when this thread was started, cos I trawled the whole beginners sections looking for a link to include. Glad to see it's been added. Cheers,Steve