Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Click SmartShape button and change its colour

Engaged ,
Jun 19, 2015 Jun 19, 2015

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.

419
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 19, 2015 Jun 19, 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.

Translate
Community Expert ,
Jun 19, 2015 Jun 19, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 20, 2015 Jun 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 23, 2015 Jun 23, 2015
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources