How can i use a local image in my application

i want to use the browse file class to select an image and then use this image using bitmapData class,
how can i do this?