how to pass data from acrobat javascript to flex application?

3 views
Skip to first unread message

Prakash

unread,
Dec 28, 2009, 6:02:54 AM12/28/09
to Flex India Community
Hi,
Am having a flex application in which i have to upload PDF files and
do the navigation between the pages of pdf file. My pdf files are
embebed in an html page.
<html><body><object id='PDFObj' data='"+data+"' type='application/pdf'
width='100%' height='100%'/></body></html>
i did that by using the acrobat javascript and able to navigate and
zoom the pages.
now i want to check the total number of pages in pdf files using
acrobat javascript.
I am able to get the total page number of PDF file by some acrobat
javascript coding
var number = numPages;
app.alert("This document has " + number + " pages");
now the total number of pages in PDF file will come in one alert box.

Now my requirement is to access the "number" which is the total page
number of PDF file from javascript (which is in PDF file )to FLEX
application.

Regards
Philip


pradeep gorijavolu

unread,
Jan 7, 2010, 5:17:27 AM1/7/10
to flex_...@googlegroups.com
Hello,
 
I hope,Please go through the flashVars that will be useful for sending parameters to the flex application
 
Regards,
Pradeep



--

You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to flex_...@googlegroups.com.
To unsubscribe from this group, send email to flex_india+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.



Reply all
Reply to author
Forward
0 new messages