API, onDocumentLoaded won't work

162 views
Skip to first unread message

telekommander

unread,
Aug 1, 2013, 10:26:54 AM8/1/13
to flex...@googlegroups.com
Hey Guys,

Flexpaper apis won't work in any way ...   :(

Like this one:

  1. function onDocumentLoaded(totalPages){
  2.     console.log('done');
  3. }

or:

  1. $('#view').bind('onDocumentLoaded',function(e,totalPages){
  2.     console.log('done');
  3. });


but this one is works:

  1. $('#view').bind('onDocumentLoading',function(e){
  2.     console.log('load ... ');
  3. });


as shown in Flexpaper examples but nothing seems to work...
Anyone already had this issue ? I'am really confused. 

Thank you very much.




FlexPaper Team

unread,
Aug 1, 2013, 8:54:20 PM8/1/13
to flex...@googlegroups.com
The first example you pasted is from a old version of the viewer but the second and third sample should work fine. Feel free to send us a url to where you have deployed the viewer with your document and we can have a look at why its failing
Reply all
Reply to author
Forward
0 new messages