You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by mo...@comcast.net on 2013/10/29 22:26:49 UTC
possible to integrate PDF document in separate browser windo with
Flex app?
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.
Is this possible in Flex? Any references appreciated (I'm not finding much on Google). Thanks in advance for any hints.
Re: possible to integrate PDF document in separate browser windo
with Flex app?
Posted by mo...@comcast.net.
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" <ma...@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
RE: possible to integrate PDF document in separate browser windo
with Flex app?
Posted by Maurice Amsellem <ma...@systar.com>.
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
Re: possible to integrate PDF document in separate browser windo with Flex app?
Posted by Justin Mclean <ju...@classsoftware.com>.
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