flash actionscript:
hi i have a problema i need to open a pdf file with the help of flash. When i press a button in flash i need it to open the pdf file in a specific page, or bookmark... how can i do it??? is it possible???
Hi Narven, A bit more detail might help us answer your question quicker. Are you opening the pdf from with in a web browser or off a CD ROM or from a users HDD? There is a big difference between all of these. I have experience of opening pdf's from a web browser, the most common result I found was that the pdf was downloaded to the local machine and opened in acrobat reader, would this be a reasonalbe solution? I also have a little experience of attempting to open files from a CD/HDD, this is much more complicated so I won't go into it too much. Also have you searched the internet for tutorials specific to pdf manipulation, unrelated to flash? Have you looked on the Adobe website/forums? Hope this helps. Jolyon
it's for a interactive cd. i've made an interface and some buttons to open each of the bookmarks in the pdf file.
The following script can be used to open the pdf file on the click of a button. This script opens the pdf in a new browser window. b.onRelease = function(){ getURL("MiniReader.pdf","_blank");
Use FlashJester JStart to open the pdf files. http://jstart.flashjester.com Download the evaluation copy and see the example files given. Regards FlashJester Support Team e. - support@flashjester.com w. - http:/// www.flashjester.com "Knowledge is the foundation of all creation, without knowledge creation does not exist"
If the interactive CD interface is running through a browser navslakra's example will work. However if your running the interface through a projector, you'll need to use the fscommand method to launch the file. Neither of these examples allow you to go straight to 'bookmarks' within the pdf though. Does anyone have any experience of launching pdf and then going to a 'bookmark' or page within it? I believe this is the more complex aspect of Narvens problema. Hope this helps. Jolyon
to open a pdf file in flash in a specific page, it's possible to do this getURL("file.pdf#page=7", "_blank"); this only works with Acrobat Reader 6.0 instaled it works also with flash mx but IT DOESNT WORK IN FLASH MX 2004... WHY??????????
Don't see what you're looking for? Try a search.
|