flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From modjkl...@comcast.net
Subject Re: possible to integrate PDF document in separate browser windo with Flex app?
Date Tue, 29 Oct 2013 22:02:32 GMT
Thanks Justin and Maurice, 

Based on your input I was able to find these links that might help anyone else interested:


http://stackoverflow.com/questions/125632/is-it-possible-to-link-to-a-bookmark-within-a-pdf-using-url-parameters


http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf 

This looks pretty easy to implement in Flex. 


----- Original Message -----

From: "Maurice Amsellem" <maurice.amsellem@systar.com> 
To: users@flex.apache.org 
Sent: Tuesday, October 29, 2013 2:51:47 PM 
Subject: RE: possible to integrate PDF document in separate browser windo with Flex app? 

Thanks Justin for the PDF url. 

Moreover, if you want to PDF to open in the same window, pass the same window argument to
the navigateToUrl call (eg. navigateToUrl( "http://www.company.com/file.pdf#page=27", "HELP"
) ; 

Maurice 

-----Message d'origine----- 
De : Justin Mclean [mailto:justin@classsoftware.com] 
Envoyé : mardi 29 octobre 2013 22:42 
À : users@flex.apache.org 
Objet : Re: possible to integrate PDF document in separate browser windo with Flex app? 

HI, 

> Looking for a way to may it easy for user to get help when they need it. I'm visioning
creating a User Guide that's a PDF file, and include links throughout the Flex app that "point"
to specific locations in the PDF document. When the user clicks a link in the Flex app, the
PDF auto-opens in a new browser window to the correct section in the document. When the user
clicks another link in Flex app, the same browser window that opened the PDF file re-positions
itself to the correct location corresponding to the clicked link. 

In a pdf you can link to page numbers like so: 
http://www.company.com/file.pdf#page=27 

or to named bookedmarks: 
http://www.company.com/file.pdf#nameddest =section3 

In Flex you just need to use navigateToURL with URLs in the above form 

There's probably also a way to use JS and the AS-JS bridge to talk from AS to JS to control
the PDF. 

Thanks, 
Justin 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message