all groups > flash actionscript > july 2004 >
You're in the

flash actionscript

group:

opening pdf with flash in a specific page


opening pdf with flash in a specific page Narven
7/18/2004 9:30:18 PM
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???
Re: opening pdf with flash in a specific page jolyon_russ
7/18/2004 10:07:01 PM
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
Re: opening pdf with flash in a specific page Narven
7/18/2004 11:04:47 PM
it's for a interactive cd.

i've made an interface and some buttons to open each of the bookmarks in the pdf file.

Re: opening pdf with flash in a specific page Narven
7/19/2004 12:18:47 AM
:(((((((((((

Re: opening pdf with flash in a specific page Narven
7/19/2004 1:01:28 AM



Re: opening pdf with flash in a specific page navslakra
7/19/2004 11:13:45 AM
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");
Re: opening pdf with flash in a specific page FlashJester Support Team
7/19/2004 11:22:39 AM
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"

Re: opening pdf with flash in a specific page jolyon_russ
7/20/2004 8:35:41 AM
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
Re: opening pdf with flash in a specific page Narven
8/12/2004 6:48:56 AM
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??????????
AddThis Social Bookmark Button