This content has been marked as final. Show 3 replies
kilyas, I to once thought it would be simple to load pdf's into flex however there is no easy way to accomplish this task. Whenever a pdf is loaded acrobat reader is always going to want to take over the control of this. The one solution that I however did come up with is by using one of the HTML component renderers within flex. Something like this http://www.flexcapacitor.com/htmlcomponent/examples/HTMLFrameInApplication.html once you have that component loading html urls correctly you can then set the url straight to the pdf. This will then launch adobe reader inside of your html component and allow the user to "view a pdf within flex" kind of... The major flaw I've found with this is it seems to lag when the browser window containing the flex application is moved around as well as resized. If anyone has a better solution though I would also like to hear it.
I would like to do this too and I feel your pain :)
Until Adobe combines the PDF viewer with the Flash player I think we all may be out of luck.