Stacking Order Bug when Exporting to Interactive PDF
by: Kelly Vaughn | May 22, 2013
I recently encountered a bug in InDesign’s stacking order when exporting to Interactive PDF. Apparently, I am not the only person having this issue, so I wanted to pass along the news and a fix.
I created a layout in InDesign that contained several layers, and objects that had been converted to buttons. In this case, it is a stack of images that together make up a coconut. In InDesign, the looked like this:
But when I exported an interactive PDF, this is what I got:
Even though each object was on the appropriate layer in InDesign, the stacking order of the layers was totally ignored in the PDF file.
After some experimenting, I found that by exporting to a Print PDF, I could obtain the correct stacking order. And I also found that by converting the different objects from buttons back to regular objects, the stacking order was correct in the PDF. To confirm this, I made a new document and tried to recreate the problem. Here is my layout in InDesign:
But after I converted the objects to buttons and exported an interactive PDF, this is what I got:
So I did another experiment with more objects to confirm my suspicion. First I made a correctly stacked layout in InDesign.
But I got the following result in the interactive PDF after creating the buttons in this order:
It turns out that there is a bug in InDesign that affects the stacking order in interactive PDFs. The stacking order is determined by the order in which the buttons are created. Buttons created first go at the bottom of the stacking order in the PDF. I compare it to a stack of paper: a sheet of paper put down first goes at the bottom of the pile. Then, each subsequent piece is stacked on top of it.
So the moral of the story is that if your stacking order is incorrect in an interactive PDF, remake your buttons, in the order opposite of how they should appear in the final PDF. I realize that may be a huge endeavor if you document has lots of buttons with lots of actions.
InDesignSecrets has several other articles on interactive buttons (see related articles, below). You can read the entire discussion on the forums here: http://forums.adobe.com/message/5340443#5340443.
Sign up for the InDesign
Tip of the Week
- News: InDesign Conference; PePcon; Lynda Weinman creative keynote!
- Neglected Panels (some you may not even know about)
- Worth a(nother) look: Info, Tool Hints, Kuler, Background Tasks, Story, Attributes
- Forgettable for most users: Trap Presets, Timing (until HTML 5 export!), Script Label, Tags, Transform (redundant!), Flattener Preview
- Wait-and-see: Adobe Exchange
- Obscure InDesign Feature of the Week: Consolidate All to Here
- Sandee Cohen said about Creating smaller PDFs from a vector-dense book:Silver, It's an interesting technique, but a little…
- Slof said about Eliminating YDB (Yucky Discolored Box) Syndrome:This is a bad idea. Most RIP-software and…
- Silver said about Creating smaller PDFs from a vector-dense book:I have used this workflow to get lightweight…
Recent Forum Posts
Automatically adding shape to corner of table cell
17 minutes ago
Incopy vs place and link
7 hours, 33 minutes ago
2 hours, 21 minutes ago
Problem with footnote on the end of the page
22 hours, 16 minutes ago
Illustrator EPS Automation
1 day, 16 hours ago