Copy link to clipboard
Copied
Hi Awesome Cp People,
Would someone be so kind as to direct me to a resource to help me build a tube fill gauge? I'm basically filling the tube as users make correct choices across a 5 slides where users can go to any of the 5 slides in any order. Trying to accomplish this with javascript (making the height of the fill object go up as correct choices are made). Any quick direction would be great. - Ryan
You would need more states, but here is a rough example on the second slide:
Sorry, it is in Dutch
Copy link to clipboard
Copied
Do you mean something like the stars appearing in this movie when an answer is correct? I used advanced actions, you'll need a browser supporting Flash player to see the embedded SF:
Copy link to clipboard
Copied
Not quite. Tube fill, pill fill, or by way of any other name, it looks like this attached where tube fills as users choose correctly across multiple slides. Attempting to do this without 50 different separate objects and instead use js to change the height of the filler color.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
In a multistate object it is very easy to change the height, but go ahead with JS if that feels to be easier to you. The object can be timed for rest of project (as I did often), thus being used over many slides. I have clock rotatiing examples, shape fill exampels etc.
Copy link to clipboard
Copied
Understood. Can you point me to a shape fill example?
Copy link to clipboard
Copied
You would need more states, but here is a rough example on the second slide:
Sorry, it is in Dutch
Copy link to clipboard
Copied
I get it....this will be interesting....if only one of the advanced action was x/y h/w change, but I guess that's what states are for. Thanks for the help.
Copy link to clipboard
Copied
You could use effects, but then you would need multiple images, because you cannot apply an effect in a state. I am sure that this can be done with JS as well, but I love to push Captivate's advanced/shared actions to the limit.
Copy link to clipboard
Copied
I know it. Albeit cleaner and probably easier, I think this can be accomplished with a combo of states, objects, variables, conditional actions. I’ll let you know how it turns out and share once complete.