In an older post Dasa had helped someone out with getting the newer type Bing key to work with the Flex 1.3 API but not in the sample flex viewer. Note this is temporary until we get all of our tools moved to the 2.x Flex Viewer. I created a file in my assets folder with this name and these contents exactly(changing the "your key here" part of course):bing-app-id.txt:{ "token": "your key here" } My config.xml entry looks like this: <mapservice label="Bing Streets" type="virtualearth" visible="false" style="road" alpha="1"
icon="com/esri/solutions/flexviewer/assets/images/icons/i_globe.png">assets/bing-app-id.txt</mapservice>
That was the same syntax that was originally in my config.xml but of course the key is now coming from a static file instead of the ASP script generating a token. I tried adding environment="production" but it did not make any difference. It is still giving me Error 1009 Cannot access a property or method of a null object reference at com.esri.ags.virtualearth:VETiledLayer/commitProperties()Any ideas? Thanks!