Skip to main content
Inspiring
November 25, 2016
Question

Change status of two objects simultaneously

  • November 25, 2016
  • 1 reply
  • 326 views

Hi all,

Context:

I have three buttons on the left side on the slide and an image on the right. I would like for the user to be able to hover over one of the buttons and to change the state of both the button (RollOver) and the state of the image.

Failed option 1:

Of course I tried to include the states of the image within the states of the buttons. But since I have three buttons, I'd get three images (normal state) on top of each other. This doesn't really help with the quality.

Failed option 2:

I used the famous event handler widget. Upon hovering the button I called an advanced action that changes both the status of the button as the image. This way I only have to use the one image. However, when I hover over the button, both the button and image start flickering.

Question:

Is it at all possible to change the states of two objects upon hovering over one of them?

This topic has been closed for replies.

1 reply

Lilybiri
Legend
November 25, 2016

You are using Captivate 9, which exact number please? Latest version is 9.0.2.437.

The Eventhandler widget is for SWF output only, is that the output you want? For HTML5 output you need to use the CpExtra widget instead.

Out of the box Captivate has only a rollover event (which is necessary to trigger an action) for the rollover slidelet. A button has an InBuilt Rollover state, but no event.

You probably can use the JS addEventListener() method to achieve your goal.

B-aceAuthor
Inspiring
November 25, 2016

Thanks Lilybiri,

I'm using the latest version.

I plan on using the CpExtra widget for HTML5 output but I doubt this will solve the problem.

The rollover slidelet has only an event for rollover and not for rollout. Which makes it useless for what I want to do.

I now very little about JavaScript so this solution would be too time consuming since I'd have to learn it.

Lilybiri
Legend
November 25, 2016

I think it will be possible with the CpExtra widget, but didn't doublecheck. You can have a rollover and a rollout event with the widget.