If you just want to open a pdf file inside Flex it is possible, however, you would have to put the .pdf file on your webserver and call it with the url. AIR will automatically load the pdf using the HTML component. In Flex, you could use the navigateToURL request to open it up in a new browser window or if you want to open it up inside Flex, try using a iFrame:
http://raghuonflex.wordpress.com/2006/12/07/flex-i-frame/ As for opening up a word doc you can use AIR to do this just simply create a URLRequest that calls it from the user's local file system: public function clickButton():void{ var request : URLRequest = new URLRequest('C:\\projects\\test.doc'); navigateToURL(request ) } Hope this helps Regards Sal --- In [email protected], "vikranth4u" <vikrant...@...> wrote: > > Hi > can anybody help me regarding how to write a code to open a pdf or doc file > using flex >

