Original User: ionara_wilsonThe way I fixed the warning was creating an expression in the event function to direct to the right service depending on the selected index of the combo box:if (myURL.selectedIndex == 0){ dynamicLayer.url = "http://tfs-24279/ArcGIS/rest/services/RADIO_BUTTONS/TFEI_07_forest_employment/MapServer"}However the problem with the legend still persisted, so I went to the flash player security settings and added the folder I had the data and the problem was solved. So I think the legend problem appeared just because the website has not been published on the web yet. I hope it helps anybody with the same problem.