Am I right in thinking the following task can not be carried out in Indesign CS5, but requires exporting to Flash:
I have a two page spread that I want to show either product 1 or product 2.
I have two thumbnail buttons for each product. On page load I want to see product 1, and then by pressing product 2's thumbnail, product 1 disappears and product 2 is displayed and then vice versa.
I can get the page to load with product 1. I can then animate the thumbnail of product 2 to bring in product 2, but I can't clear product 1 fromunder it or get back to product one, because I can't seperate it from the actions from the page load. It seems you can't animate something twice. Is that correct?
What I need is to be able to set up animations for a single item for each button and page load, but CS5 only seems to allow an object to be animated from one button and/or page load with onetype of animation.
Surely it would have been easy to implement mapping different buttons for different animations for a single object, or would this be treading too far on to Flash's toes?
That is techincally correct but there is a little trick you can play on InDesign. After you have the initial animation set up, create new rectangle with no fill or stroke. Group that with object that you wish to add a second animation to. ID will see that as a new object that you can apply any animation affect to.
I've tried you work around and it still has limitations.
At present I have product button 1 set up so that on click, it causes product 2 to disappear, and on release it flies in product 1 and vice versa for product button 2. However, once a product has been made to disappear I can't get it to come up again. I could set up each product in astack, but I want a stack of photos for each product and I seem to rememer reading that you can't have a stack within a stack, or can you?
The only work around I can see now is that I have multi copies of product 1 and product 2 each indiidually animated so that a viewer could click between products one and two until the number of copies ran out. Then they would need to reload the page.
You can use buttons with animations play/reverse features. In InDesign you can add more than one action to one button, so put to product 1 button actions
product 1 > play
product 2 > reverse
And same thing but vice versa to product 2 button.... and make your product 1 animation also go on while page is loading...
I made a small sample:
Same as indd: