Using Variable to Change an Object State

Jun 20, 2014

Working on a project that requires different objects across different slides to change states based on the numbered variable. I attached a simple example of what I'm trying to do.

When you click the square on the first slide, it should increase the number variable by 1.00. On the second slide, the first oval is set to change states when the variable is equal to or greater than 1.00. But it's not changing states! I think it's something simple that I'm overlooking ... Please help. Thanks!

6 Replies
Antony Snow

Hi Walter,

Please find attached a revised version of your example that changes the state of oval 1 as expected.

Basically, I amended the trigger on slide 2 to change the state of oval 1 when the timeline of slide 2 starts and used the condition you had already set.

I hope this helps

Andy Whitman

Thanks for your response Antony. But yeah, does anyone know why my original oprion won't work?

What if you have a variable trigger on the same slide as one of the objects being changed? Then you'd have to set up two variables (one like my original post and one when the timeline starts). It doesn't seem logical and maybe it's a technical deficiency in the program -- I don't know.

Michael Hinze

Walter Coolman said:

Thanks for your response Antony. But yeah, does anyone know why my original oprion won't work?

What if you have a variable trigger on the same slide as one of the objects being changed? Then you'd have to set up two variables (one like my original post and one when the timeline starts). It doesn't seem logical and maybe it's a technical deficiency in the program -- I don't know.

You original file didn't work because the progress variable is changed on slide 1.1 and that's why,when you get to slide 1.2, the 'When progress changes' doesn't fire. The 'When Variablexyz changes' option is limited to the slide where the change actually happens(in your case, slide 1.1)

This discussion is closed. You can start a new discussion or contact Articulate Support.