Copy link to clipboard
Copied
Hi,
If i click a smartshape button can i change it's colour based on the value of a variable e.g. 1= yellow, 2 = red etc.
i.e. select colour (and set variable) then click smartshape button to change the button to that colour.
Captivate 8.0.1.242, no LMS, HTML output, not sure if it will be responsive or not.
Regards
Donal.
There is currently no Advanced Action capability to do this. You can only SHOW or HIDE complete objects to make it appear as if they have changed colour. However, if you do this with buttons, you also need to DISABLE or ENABLE them at the same time.
Copy link to clipboard
Copied
There is currently no Advanced Action capability to do this. You can only SHOW or HIDE complete objects to make it appear as if they have changed colour. However, if you do this with buttons, you also need to DISABLE or ENABLE them at the same time.
Copy link to clipboard
Copied
No LMS, no HTML output means it cannot be responsive because in that case you only have HTML output.
Only for SWF possible: you could apply a Tint to the shape button using a conditional action. However, don't forget that shape buttons have 3 default states, if they have already different colors, which state do you want to change? Moreover Applying effects by advanced actions, especially to shapes (flickering issue) is still a risky adventure.
If you go with Rod's work flow (mostly what I'd do as well because of those problems with effects applied by actions), you could the disable/enable thing by not having shape buttons but a shape covered with a click box or a transparent shape button (if you need it to display over more than one slide or on a master slide), to have only the shape (with its color) to change.
Copy link to clipboard
Copied
Thanks Rod and Lieve. I'm creating a painting game where they have to paint certain shapes a specific colour. From your responses i decided that the simpliest solution is to only allow them paint the shape with the correct colour, otherwise show an error mesage.