So I am trying to add a service with a time slider to my flex app. When I add the first layer as the service the timeInfo seems to be populated properly but I cant see anything (with or without adding a slider). If I add the entire service it seems timeExtent get set but timeInterval and timeIntervalUnits is not set. I also cant see any layers this way. If I remove the slider from the map I can see the layer. So here is what I have now... Btw our services are publicly accessible.Note: We have a Javascript version that seems to be running correctly.
<fx:String id="climateServiceURLTest">http://iidev.lib.uidaho.edu/ArcGIS/rest/services/climatologyMeteorologyAtmosphere/downscaledClimateScenarios_CSIRO/MapServer/0</fx:String>
private function climateService_loadHandler(event:LayerEvent):void
{
var timeInfo:TimeInfo = climateService.timeInfo;
timeSlider.createTimeStopsByTimeInterval(timeInfo.timeExtent, 1, "esriTimeUnitsYears");
}
<esri:Map id="map" logoVisible="false" openHandCursorVisible="false" load="onMapLoad();" timeSlider="{myTimeSlider}" styleName="mapStyle">
<esri:extent>
<esri:Extent xmin="-14698002" ymin="3937860" xmax="-10683056" ymax="7350879">
<esri:SpatialReference wkid="102100" />
</esri:Extent>
</esri:extent>
<esri:VETiledLayer
id="basemap"
culture="en-US"
visible="true"
mapStyle="road"
key="AkuhsTwX03AdA6UqUp6o1kH66NkMLB034gwrbMAFAXzHUwf1Ag5FbnZbRd0TVpIQ" />
<esri:ArcGISDynamicMapServiceLayer
id="climateService"
url="{climateServiceURLTest}"
load="climateService_loadHandler(event)">
</esri:ArcGISDynamicMapServiceLayer>
</esri:Map>
<esri:TimeSlider id="myTimeSlider"/>