I've read this post which is really helpful. However I'm trying to open attachments in flex application. Is it possible? Any experience about that?
Thanks, but I've found what I was looking for here:
I had to prepare the proper file descriptor. Works fine.