I am having some problems creating buttons in object states...I have a colored rectangle and a text box in each object state...I have selected the rectangle as the button to show the next state (there are only 2 states) and the second state leads back to the first one...
but in some of the object states the text box does not appear? if i don't have the second state as a button then it appears ok (but I can't return to the first state)
any ideas? do i need to group each text and rectangle before placing it into the object state and subsequently making it a button?
Buttons in object states that navigate to the states in the MSO can be created outside of the MSO but once placed into that MSO will lose their go to state or go to next state functionality.
This is a long standing problem and quite frankly a major PITA. The only way around it is to add that function after putting the button into the MSO.
Bob
@Bob – however, if you group an MSO with buttons inside, the targets (object states) in the buttons are wiped out. Un-group does not bring them back.
At least that will happen in InDesign CS5.5 v7.5.3.
Arg!
And: if you copy/paste a button on the page (not inside an MSO) the pasted button will loose its target, if the target is an object state.
Uwe
@Bob – sorry, Bob. I'll try to explain again:
Say we have one MSO with buttons inside and and a plain rectangle on the page:
the moment you group the MSO with the rectangle, the button will loose its target, if the target is an object state (of the same MSO).
That's my experience with InDesign CS5.5.
Ah! One thing left:
what will happen if you do not copy/paste an MSO but duplicate (alt + drag) an MSO with buttons inside?
See the following movie (hope the link will work. It's my first time with dropbox…):
https://www.dropbox.com/s/et30rl16ueq5g04/MSO_controlsOTHER_MSO_HighRe s.mov?n=49486054
Have fun!
Uwe
@Bob – it seems it is the only way to get something like a button control from one MSO to another.
I stumbled over this just today so I had no time for testing.
So duplicating an MSO seems to be an option…
The example you see in the movie is a folio with PNG output saved as v20. Version 24 in this configuration is also doing fine.
I think we have to explore the new possibilities this will give us.
Though, I'm a little uneasy, because we leave the targets of the buttons inside the duplicated MSO in a very strange state:
Uwe
Nevertheless, it could be an option for Single Issue Apps, because the folio is baked together with the app and could not change in a future version.
Further tests will follow…
And I'm looking for a way to address the target of a button inside a duplicated MSO directly by scripting, so that the target can be changed to quite another arbitrary MSO on the page without breaking the "feature".
I think this is a very good example for exploiting something like a bug or a not programmatically finished feature… :-)
Uwe
P.S: Maybe someone, you?, should move that whole thread over to the DPS Forum?
Message was edited by: Laubender
By duplicating the one MSO from page 1 to page 2 with alt + drag, this seems possible now…
The target of the button inside the duplicated MSO of page 2 stays the same.
It points to the MSO on page 1!
Watch the second movie where I can proof this with the Content Viewer on my Mac:
At first you see page 1 of the article.
Then I switch over (down) to page 2.
Click the yellow button on the single MSO on that page (that switches the MSO on page 1 to state 2).
Then I switch back to page 1 (up), where the state of the one MSO has changed from state 1 to state 2.
I can already confirm that this is also working with the Content Viewer on the iPad.
Uwe
ouch...the grouping of buttons has just cost me quite a bit of time...what is a way to work around this? just to wait until the very last possible moment to create the buttons?
I have found something strange, if i have an object state with a rectangle and a text box, if i set the rectangle as the button the next state doesn't display correctly but if i set the text box as the object state then it does display correctly...
North America
Europe, Middle East and Africa
Asia Pacific