Save a image on PC

Hi all,

I m trying to save the bitmap image(or any other iamge)from the swf on my computer… for that i need to display a dialog box with showing the path… means the user can browse and choose the path where he needs to save.
please help me to display the dialog box and how to save the image to that path…