-
1. Re: Toggle Play/Pause buttons with smartshape
Cbreem Apr 10, 2014 6:00 AM (in response to Cbreem)By the way, when I don't put the shapes on top of each other, then it works.
-
2. Re: Toggle Play/Pause buttons with smartshape
Lilybiri Apr 10, 2014 6:42 AM (in response to Cbreem)I'm Lieve. First question: can you tell me the exact version you are using? Look in Help; About Captivate.
-
3. Re: Toggle Play/Pause buttons with smartshape
Cbreem Apr 10, 2014 6:47 AM (in response to Lilybiri)Hi Lieve,
It's captivate 7.0.1.
-
4. Re: Toggle Play/Pause buttons with smartshape
Lilybiri Apr 10, 2014 7:09 AM (in response to Cbreem)Busy checking, I know there is something tricky about Play/Pause in 7 (sighing, not all my blog posts are valid for all versions, too much changes) and once found a solution but didn't blog it. I will try to figure it out, believed you couldn't solve it with two shape buttons each triggering a standard action, but you needed one shape button that triggers a conditional action and switching images. Can you be a bit patient, have a lot on my plate today?
Lieve
-
5. Re: Toggle Play/Pause buttons with smartshape
Cbreem Apr 10, 2014 7:54 AM (in response to Lilybiri)Hi Lieve,
thank you for checking. This is not urgent, because in my specific case I was able to solve it by not using the 'place object on top' option. (I merged the other images into the background of the masterslide, so my buttons are no longer hidden. However, this will not always be possible.) I would like to find a solution for future projects though.
I didn't know you could change the image conditionally, that might be a solution. I will also check this possibility.
Christophe
-
6. Re: Toggle Play/Pause buttons with smartshape
RodWard Apr 10, 2014 6:20 PM (in response to Cbreem)If you go with a conditional action executed by a single button, you can also make the text in the button a user variable and use the conditional action to change the text from Play to Pause and vice versa.
-
7. Re: Toggle Play/Pause buttons with smartshape
John Denner Jul 3, 2014 1:35 PM (in response to Cbreem)I know this thread is a bit old but I found that hiding only changes the visibility but the button still works. Just like disable turns the interactivity off but has the shape still visible. So I use hide and disable or show and enable to completely turn a button off and on. By doing this you can stack buttons.
So next time try:
Hide btnPauze
Disable btnPauze
Show btnPlay
Enable btnPlay
and do the reverse for the other script.
-
8. Re: Toggle Play/Pause buttons with smartshape
Lilybiri Jul 3, 2014 2:23 PM (in response to John Denner)Sorry, a hidden interactive object is disabled. Don't confuse people.
-
9. Re: Toggle Play/Pause buttons with smartshape
John Denner Jul 3, 2014 3:15 PM (in response to Lilybiri)Thank you for consistently telling me I'm wrong. I appreciate your in depth knowledge but could do without the short remarks on me being incorrect. I may have been a little unclear so I do apologize for that but I was answering the question in the context of her problem and not all interactive objects. Sorry about that.
I have found over and over again that hidden interavtive objects set to display for the rest of the project and checked as always on top, behave badly on slides further down the module unless you disable them. Even though the button is not visible and 10 slides away I will still get a click sound (if turned on of course. don't want to confuse people), unwanted behavior (exact same as behavior as Cbreem), but strangely no hand cursor over the hidden object itself (yes I have it checked). And if I have a button below the problem button (because the problem button is set to always on top) you cannot click on it or get any type of rollover effect because the hidden button gets in the way. However, if I hide and disable the button then everything works great.
Maybe this is a bug like Cbreem alluded to but I've found that hiding an object doesn't always disable it. I wish it did.
In this screenshot I've highlighted where the hidden button is located. It's "covering" a corner of 4 other buttons. You should be able to see a rollover effect where the hand cursor is but the hidden object is preventing the button from working. I could click on this spot all day and the button below will never fire.
I sincerely apologize if I confused anybody but I wanted to share this workflow and hopefully help out another person facing the frustrating behavior. Hide and Disable.
-
10. Re: Toggle Play/Pause buttons with smartshape
ureymills00 Aug 19, 2014 12:09 PM (in response to Cbreem)
Did you ever get a response? -
11. Re: Toggle Play/Pause buttons with smartshape
uniquescreennamelol Aug 19, 2014 12:40 PM (in response to ureymills00)I used a conditional action to toggle play/pause with a smartshape.
Two images (img_Play and img_Pause) are layered on each other.
img_Play is NOT visible in output while img_Pause IS visible (set this in the image's properties).
Transparent smartshape is layered on top of both images and executes an Advanced Action: pausePlay.
pausePlay is a conditional action that follows this layout:
IF
Perform action if: ANY OF THE CONDITIONS ARE TRUE
cpCmndResume is equal to 1
cpCmndPause is equal to 0
Actions
Assign cpCmndResume with 0
Assign cpCmndPause with 1
Stop triggered Audio
Show img_Play
Hide img_Pause
ELSE
Assign cpCmndResume with 1
Assign cpCmndPause with 0
Stop triggered Audio
Show img_Pause
Hide img_Play
What this doesn't do well with: When a slide is already paused, clicking this button to 'pause' would make the project play. Hasn't caused a real issue yet, but it is a shortcoming.
I hope that helps and that I'm not missing any details.






