Skip to main content
Inspiring
June 19, 2015
Answered

Click SmartShape button and change its colour

  • June 19, 2015
  • 2 replies
  • 472 views

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.

    This topic has been closed for replies.
    Correct answer RodWard

    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.

    2 replies

    Lilybiri
    Legend
    June 20, 2015

    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.

    donalallAuthor
    Inspiring
    June 23, 2015

    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.

    RodWard
    Community Expert
    RodWardCommunity ExpertCorrect answer
    Community Expert
    June 20, 2015

    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.