Javascript: this.flattenPages appears to crash viewer cntrl
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 25
- Joined: Tue Nov 11, 2008 12:04 am
Javascript: this.flattenPages appears to crash viewer cntrl
Hi, I notice that when I call the javascript: this.flattenPages, it often times crashes the viewer control. Also, is there another way to flatten PDF without using javascript.Thanks.
-
- User
- Posts: 25
- Joined: Tue Nov 11, 2008 12:04 am
Re: Javascript: this.flattenPages appears to crash viewer cntrl
It appears to be crashing if the form document has a combo box field.
Environment:
Adobe Pro. 9.0 (to generate form)
Form contains: text fields, combo box [can be empty]
Steps (to replicate without going through javascript):
1. Load form (drag drop file into control/viewer).
2. Click "Flatten Comments" from "Comments" menu.
3. [control crashes here]
Environment:
Adobe Pro. 9.0 (to generate form)
Form contains: text fields, combo box [can be empty]
Steps (to replicate without going through javascript):
1. Load form (drag drop file into control/viewer).
2. Click "Flatten Comments" from "Comments" menu.
3. [control crashes here]
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: Javascript: this.flattenPages appears to crash viewer cntrl
Could you supply a sample document please (if attaching here - please zip) or use the Viewer -
Help -Report a Problem
option - Thanks.
Help -Report a Problem
option - Thanks.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 25
- Joined: Tue Nov 11, 2008 12:04 am
Re: Javascript: this.flattenPages appears to crash viewer cntrl
File sent via viewer. Thanks.
-
- User
- Posts: 25
- Joined: Tue Nov 11, 2008 12:04 am
Re: Javascript: this.flattenPages appears to crash viewer cntrl
Hi, FYI, this issue appears to still be occurring the the March 2009 release of the PDF Viewer SDK which I just downloaded and tested. Will this be fix in the next release? If so, when could we expect the release. Thanks.
-
- User
- Posts: 25
- Joined: Tue Nov 11, 2008 12:04 am
Re: Javascript: this.flattenPages appears to crash viewer cntrl
Update, I just downloaded the PDF Viewer (not the SDK set) and flattening does not crash now. It appears the Viewer and Viewer SDK binary sets on the website may be out of sync. Thanks.
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: Javascript: this.flattenPages appears to crash viewer cntrl
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 25
- Joined: Tue Nov 11, 2008 12:04 am
Re: Javascript: this.flattenPages appears to crash viewer cntrl
Excellent! Thanks.
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: Javascript: this.flattenPages appears to crash viewer cntrl
pleasure 

If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com