Skip to main content
AskingAboutJS
Inspiring
November 12, 2017
Answered

Solid Smart Shape (cannot click buttons behind it)

  • November 12, 2017
  • 2 replies
  • 558 views

Hello,

I've searched both in Captivate and on this forum, but it seems the feature has not been implemented into Captivate...

What is the best solution I have which will let me show/hide a smart object which covers the entire screen, but when it is shown, nothing behind it can be clicked?

The reason I need this is because I have 33 buttons behind it, on each slide, with some hidden, some not, and I don't want to hide/unhide the buttons behind the big smart object, because it uses JavaScript and other background data.

Thank you in advance.

    This topic has been closed for replies.
    Correct answer TLCMediaDesign

    On slide enter, execute this JavaScript:

    $('#SmartShape_2').click(function(e){

        e.stopPropagation();

    });

    Change the text in bold to match the name of the smart shape you are using to cover the buttons.

    2 replies

    TLCMediaDesign
    Inspiring
    November 13, 2017

    Have you tried showing an image, like a completely white png, that covers the stage behind your smart object?

    It's possible to loop through all of the objects on the slide with JavaScript and disable/enable all of the buttons.

    Are you using actual buttons or smartshapes used as button?

    AskingAboutJS
    Inspiring
    November 14, 2017

    Yes, I'd rather not loop through them all is the issue.

    They are all smart shapes acting as buttons. I tried using a transparent png image/smart object, but neither worked.

    Lilybiri

    It is to try and find a solution to this issue. There's only 1 fake button. The rest use Javascript.

    TLCMediaDesign
    TLCMediaDesignCorrect answer
    Inspiring
    November 14, 2017

    On slide enter, execute this JavaScript:

    $('#SmartShape_2').click(function(e){

        e.stopPropagation();

    });

    Change the text in bold to match the name of the smart shape you are using to cover the buttons.

    Lilybiri
    Legend
    November 12, 2017

    You have to disable those buttons, very cumbersome ecauseit is not possible

    to disable a group.

    On Sat, 11 Nov 2017 at 16:43, AskingAboutJS <forums_noreply@adobe.com>

    AskingAboutJS
    Inspiring
    November 12, 2017

    The closest thing I can come to as a solution is making it a button with no action and disabling the click sound...

    Lilybiri
    Legend
    November 12, 2017

    ??? What is the purpose of those buttons if they don't have an action attached to them?  Disabling buttons works perfect, I do it all the time. They remain visible but will act as if they are in the inactive part of their timeline.