Hello, how is it possible to manage object states with buttons. I have two object states placed in the same place (one on top of the other).
I have two buttons, the first one make appear an object state 1, my second button makes appear a second object state.
My concern is that when I click on the second button, I have no way to hide the first object state. is there a solution?
thank you in advance
Are the buttons for use in an Interactive PDF?
If so, some features in Interactive PDFs don't work – you can have a word or words or an image (such as a button shape) as a document hyperlink to say another page in the document, or to an external website.
Some devices, for example, iPads, don't have rollover capability – only click – you should avoid multi-action buttons like On Click, On Roll Over, etc.
Multi-state objects (MSO) don’t work at all in Interactive PDFs.
no it's a brochure epub
What do you like to show then? Nothing?
Then add an additional empty state that can be addressed with a button.
( ACP )
not nothing, as I said in my first message, my second button should make a second multiple object status appear but the first one does not disappear
thank you for this information, but it does not correspond to what I am looking to do. in any case I will keep this information under consideration.
The problem with FXL ePubs can be the reader and that unfamiliar users may have to download a reading app. If you're not needing the publication to be password protected it might be worth you considering InDesign's Publish Online. Such documents can be read on a Mac, PC, Tablet and Smartphone and are easy to produce of you know InDesign.
Combine the two MSOs into one. Way easier to control.
Ah, that was new info, that you have two MSOs on your page.
Case 1. Both buttons are outside of the MSOs on the page:
Both buttons can see both MSOs, so you can control both MSOs with two GoToState actions in each.
Case 2. Both buttons must be positioned inside the MSOs:
Have your BUTTON 1 as anchored object inside a text frame that is part of MSO 1.
Have your BUTTON 2 as anchored object inside a text frame that is part of MSO 2.
Important to know: Because the two buttons are anchored, they can see all MSOs on a page or on the whole spread if it happens that the spread has more than one page. You can do two GoToState actions with boths buttons. One action that goes to an empty state of the one MSO, a second action that goes to a state of the other MSO.
Best show some screenshots to understand how the buttons should function.
And also if and when a button should disappear as well.
( ACP )
You need an empty state if you want that MSO to be hidden. That also means putting the buttons into the MSO. The issue with that is that the buttons will lose their actions if you copy/paste them in. There is however a lovely little plugin that will really help with MSOs:
THANK YOU I'LL TAKE A LOOK