This will be easier to understand if you see the swf… https://dl.dropbox.com/u/36734443/navigation_swf.zip
and/or the InDesign CS5 file… https://dl.dropbox.com/u/36734443/navigation_collect.zip
I'm trying to demo the secondary navigation of a webpage. The navigation consists of twelve links (buttons) in three groups of four, of which only one group of four is visible at any one time. The other two sets scroll in from the right and left to replace the initial set at the press of a chevron.
The default set (labelled 1-4) must, in turn, move to the left to reveal 'links 5-8' and to the right to reveal 'links 9-12'. I don't believe I can animate this set in the two directions required to accomplish the effect required.
The alternative therefore is to use a duplicate of set 1-4, (one to move left and one to move right) and use a hide/show button event to display the appropriate version when required.
In the attached swf I've colour coded the event buttons to help illustrate the procedure. The red chevrons are the default buttons, the blue ones the secondary action whilst the green have no functionality since there is nothing more to view by clicking them! The blue buttons should trigger the show/hide of the two groups of 1-4, unfortunately, as these are a group of four buttons, they can't (as far as I can see) be made into a button and therefore don't appear as a visibilty option in the button palette. In the swf I've offset the second group of 1-4 to show how it animates!
I know this can be accomplished in the real world, and I expect, in InDesign with the addition of Java or Applescript, but I've a bee in my bonnet about achieving this directly in InDesign. Have I bitten off more than off more than CS5 can chew?