-
1. Re: Button hided by default in SWF?
Kathlene Sage Dec 2, 2009 7:02 AM (in response to Petteri_Paananen)Hey There,
Check out this link - I think you'll find what you need (and more) from my hero Michael Ninness. ;o) I think you'll find what you need in the Interactive Elements chapter. GL
-
2. Re: Button hided by default in SWF?
Petteri_Paananen Dec 2, 2009 7:42 AM (in response to Kathlene Sage)I have actually seen that clip before.
Unfortunately it doesn´t give me any solution, in fact, Michael describes this situation there (around 1.00 hour). I hoped that someone would have discovered a nice work-around for this "limitation" of ID>SWF export...
Thanks anyway....
-
3. Re: Button hided by default in SWF?
Kathlene Sage Dec 2, 2009 8:14 AM (in response to Petteri_Paananen)Can you post a snapshot of what you are looking for? I am a visual communicator and if I see it, I may be able to help a bit more.
-
4. Re: Button hided by default in SWF?
Petteri_Paananen Dec 2, 2009 8:27 AM (in response to Kathlene Sage) -
5. Re: Button hided by default in SWF?
Kathlene Sage Dec 2, 2009 9:31 AM (in response to Petteri_Paananen)That will do, Thanks.
CS3
Create an object to be used as the source button. Interactive, convert to button. Double click your button and select visibility in PDF to visible.
Place the image you want to be used as the target button. Interactive, convert to button. Double click your button and select visibility in PDF to hidden. The image needs to be hidden in the PDF document so that it can be displayed when the source button is moused over or clicked.
Select the source button and create two different actions, one to show the target image and a second to hide the target image.
If you want the image to appear when the mouse hovers over the source button, use the mouse enter and mouse exit events. Mouse enter - show/hide button, and mouse exit - show/hide button.
CS4
Create an object to be used as the source button. In the Buttons panel, click the [Normal] state to convert it to a button.
Place the image you want to be used as the target button. In the Buttons panel, click the [Normal] state to convert it to the button.
Select the target image and choose Hidden In PDF from the Buttons panel menu. Again, the image needs to be hidden is the PDF document so that it can be displayed when the source button is moused over or clicked.
Select the source button and create two different actions, one to show the target image and a second to hide the target image.
If you want the image to appear when the mouse hovers over the source button, use the On Roll Over and On Roll Off events. If you want the image to appear when you click the source button and disappear when you release it, use the On Click and On Release events. If either case, use the Show/Hide Buttons action to display and hide the target button.
-
6. Re: Button hided by default in SWF?
Petteri_Paananen Dec 2, 2009 10:01 AM (in response to Kathlene Sage)Problem is that I´m not going to make PDF. I´m going to make SWF and that feature is not supported in SWF export.
-
7. Re: Button hided by default in SWF?
Kathlene Sage Dec 2, 2009 10:05 AM (in response to Petteri_Paananen)Certainly is.
-
8. Re: Button hided by default in SWF?
Petteri_Paananen Dec 2, 2009 10:13 AM (in response to Kathlene Sage) -
9. Re: Button hided by default in SWF?
Kathlene Sage Dec 2, 2009 10:24 AM (in response to Petteri_Paananen)That is exactly what I am saying. See Attached. Second file is a bit smaller because I had to keep the mouse over the source button in order to keep the display of the larger image.
You need to be sure you are telling the source button that you want to roll over twice - once for the show, once for the hide. I am open if you want to exchange personal contact via PM. I can send you a sample file tonight to see what is going on.
-
RolloverDisplay.png 56.3 K
-
SourceDisplay.png 59.7 K
-
-
10. Re: Button hided by default in SWF?
Petteri_Paananen Dec 2, 2009 10:45 AM (in response to Kathlene Sage)This is interesting, thanks. I put my sample spread into my dropbox.
I really appreciate if you have time to check it....
http://dl.dropbox.com/u/133381/button_test.indd
Same file as ZIP-package if uncompressed file goes broken...
-
11. Re: Button hided by default in SWF?
Kathlene Sage Dec 2, 2009 10:54 AM (in response to Petteri_Paananen)No Problem - I'll get to it tonight.
-
12. Re: Button hided by default in SWF?
Kathlene Sage Dec 3, 2009 3:27 AM (in response to Kathlene Sage)It was a late night so I had to get to it this morning. Hope that's OK.
-
button_test_Kathlene.indd.zip 164.6 K
-
-
13. Re: Button hided by default in SWF?
Petteri_Paananen Dec 3, 2009 3:46 AM (in response to Kathlene Sage)It certainly is a step to right direction, thanks....
only problem is that large image is visible when I open SWF, it will become hidden when I first rollover small image, but until that it lays over the text.
Hiding of that large image should be triggered other way, may there could be a invisible button, as large as whole spread... and rollovering that large button would hide large image and that large button itself.... I don´t know... it still bothers me that large image is visible when SWF opens....
Or may be there should be a next page button in cover. That button would trigger of course goto page action, but it could also trigger every large images to hide.... I have to chew this a little bit. Thanks for your help...
-
14. Re: Button hided by default in SWF?
Kathlene Sage Dec 3, 2009 4:00 AM (in response to Petteri_Paananen)This is wrong.. The first one I sent did not show the larger image until the rollover - Let me find the kink... BRB
-
15. Re: Button hided by default in SWF?
Kathlene Sage Dec 3, 2009 7:21 AM (in response to Petteri_Paananen)Bob Bringhurst has documented that it is not possible with SWF export - I must have not caught the display of the view image when I opened the swf. Sorry... Do you have to export .swf for the page curl or something else?
-
16. Re: Button hided by default in SWF?
Petteri_Paananen Dec 3, 2009 7:55 AM (in response to Kathlene Sage)Not just page curl, I actually attach this SWF and few others (every chapter is one SWF) to publishing system, which brings extra features like zooming and printing to them.
I can´t use PDF because this has to be able to view with web-browser... 99.3% of web-users have Flash 9 installed, so you can be pretty sure that almost everyone is able to view SWF-documents.... with PDFs it´s much more difficult to predict what happens when user starts to open it, sometimes it opens to Acrobat, sometimes in some other software (like Preview in Mac), sometimes it opens inside browser etc... Flash-openings are much more easier to predict, almost everyone sees them inside their browsers and with more or less same appereance... and I have to admit that InDesign´s Page Curl is quite cool...=)
-
17. Re: Button hided by default in SWF?
Kathlene Sage Dec 3, 2009 9:16 AM (in response to Petteri_Paananen)Let's see if this workaround helps... Since your rollover show image is covering your text, why not hide it when your rollover image shows? I've attached something I think you would like... I hope, anyway.
File was uploaded by: Kathlene Sage
-
button_test_Kathlene2.indd.zip 148.9 K
-
-
18. Re: Button hided by default in SWF?
Petteri_Paananen Dec 3, 2009 10:39 AM (in response to Kathlene Sage)hmm, intresting... you have hide large image by putting a button type text frame with white background on the top of it... and you simply hide that text frame/button when user rollovers small image. it´s little funny that text goes hidden while large image is visible but I think I can live with that...
Thanks Kathlene....
-
19. Re: Button hided by default in SWF?
Kathlene Sage Dec 3, 2009 10:44 AM (in response to Petteri_Paananen)Excellent!!! You are very welcome - I knew we could achieve something to make it work!
-
20. Re: Button hided by default in SWF?
Petteri_Paananen Dec 3, 2009 11:25 AM (in response to Kathlene Sage)little bit development and now it works like a charm.... I simply put another text under everything else, when large image becomes visible, text on the bottom comes also visible. And it´s exact duplicate of original textframe....
-
21. Re: Button hided by default in SWF?
Kathlene Sage Dec 3, 2009 11:36 AM (in response to Petteri_Paananen)That's great! Quite the workaround, but you did it! Let's hope CS5 is a bit more sensitive to this.




