I replaced the index file and the text on the widget buttons have disappeared. When I put my original index back they reappear. Any help would be appreciated.
I ran into a similar problem. The text on my map switcher would disappear when I replaced the index with the one included with the widget. I searched both index files to find what was different and added the following items (in bold) to my index. That fixed the problem for me. Hope this helps.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>ArcGIS Viewer for Flex</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="Esri ArcGIS viewer for Flex"/> <meta name="keywords" content="Esri, ArcGIS, Flex Viewer"/> <meta name="author" content="Esri"/>
<!-- Include CSS to eliminate any default margins/padding and set the height of the html element and the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as the percentage of the height of its parent container, which has to be set explicitly. Fix for Firefox 3.6 focus border issues. Initially, don't display flashContent div so it won't show if JavaScript disabled. --> <style type="text/css" media="screen"> html, body { height:100%; } body { margin:0; padding:0; overflow:auto; text-align:center; background-color: #ffffff; } object:focus { outline:none; } #flashContent { display:none; } </style>
<!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens --> <!-- BEGIN Browser History required section > <link rel="stylesheet" type="text/css" href="history/history.css" /> <script type="text/javascript" src="history/history.js"></script> <! END Browser History required section -->