You will need to publish the file from your Flash applet to the .NET page / service / http handler / MVC Action, which will actually write the image to your database.
. (, )
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult SaveFile(HttpPostedFile uploadedFile)
{
RedirectToAction(......);
}
, Flash www.site.com/files/savefile