         webTiledLayer.id = layerCreationProperties.label;
         webTiledLayer.name = layerCreationProperties.label;
         webTiledLayer.visible = layerCreationProperties.visible;
-        webTiledLayer.copyright = layerCreationProperties.copyright;
         webTiledLayer.showInLegend = layerCreationProperties.showInLegend;
 
+        if (layerCreationProperties.copyright != null)
+        {
+            webTiledLayer.copyright = layerCreationProperties.copyright;
+        }
         if (layerCreationProperties.displayLevels)
         {
             webTiledLayer.displayLevels = layerCreationProperties.displayLevels.split(",");

    {
        var arcimsLayer:ArcIMSMapServiceLayer = new ArcIMSMapServiceLayer();
        arcimsLayer.alpha = layerCreationProperties.alpha;
        arcimsLayer.copyright = layerCreationProperties.copyright;
        arcimsLayer.id = layerCreationProperties.label;
        arcimsLayer.name = layerCreationProperties.label;
        arcimsLayer.visible = layerCreationProperties.visible;
        arcimsLayer.serviceHost = layerCreationProperties.serviceHost;
        arcimsLayer.serviceName = layerCreationProperties.serviceName;
        arcimsLayer.showInLegend = layerCreationProperties.showInLegend;
        if (layerCreationProperties.autoRefresh > 0)
        {
            setInterval(arcimsLayer.refresh, layerCreationProperties.autoRefresh * 1000);

    {
        var dynLayer:ArcGISDynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer(layerCreationProperties.url);
        dynLayer.alpha = layerCreationProperties.alpha;
        dynLayer.id = layerCreationProperties.label;
        dynLayer.gdbVersion = layerCreationProperties.gdbVersion;
        dynLayer.name = layerCreationProperties.label;
