Dynamically loading new documents

144 views
Skip to first unread message

William Patterson

unread,
Jul 29, 2013, 12:20:04 AM7/29/13
to flex...@googlegroups.com
Hello all,

I apologize if this question has been posted before, to my surprise my searches turned up nothing ..

I am unable to find a way to dynamically update the document loaded in a FlexPaper object.

Using JQuery, I simply want my user to click on a new file and it will load it in the already loaded window.

We are only using PDF files, so I dont need any type of conversion or anything fancy.

How can I do this?


Thanks!
Bill

William Patterson

unread,
Jul 30, 2013, 6:00:11 PM7/30/13
to flex...@googlegroups.com
For those of you wondering the same thing, the answer was the following:

$FlexPaper('documentViewer').load({PDFFile : 'myfile.pdf'});

It's not documented (anywhere I could find), so hopefully this will help.

Reply all
Reply to author
Forward
0 new messages