Andrew, Have you looked at the documentation for FeatureLayer?http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.htmlAs far as what you would put for the second and third params of the applyEdits function both would just be null if you are not updating or deleting any features. And it is expecting an Array of graphics not a single graphic object:(map.layers[1] as FeatureLayer).applyEdits([map.layers[2].graphicProvider], null, null);
Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).Follow the steps as shown in the below graphic: