as2 - file open dialog box

hello all, i am wondering if there is a way with flash to call the open file dialog box so the user can browse his/her directories to select the file to load.

also, if this is possible, is there a way to choose what type of files are allowed?

thanx