Button state not changing on reading variable

Hi, I am using an adapted version of VideoSampler_placeholder template. I want to be able to change the state of a button on the menu when all the videos have been viewed.

 I have inserted a main navigation slide so users can select which topic of  videos they want to view. (1 have only one set at the moment) I have attached a variable "count" on the video slide, so when a video is clicked it adds 1 to the "Count" variable.

This works fine, when I click the "Previous" button to return to the menu, I can see that the variable is =6 (6 videos have been clicked), however I also have a Slide Trigger on the menu that when the "Count" = 6, to change the state of a button.  The variable is working and I can see the total, but I can't get anything to hide or change when the variable = the right total. I have tried to hide other images on the menu, but nothing seems to hide or change.  When I return to the menu the button just assumes the "Visited" state.

4 Replies
John Sutton

Try adding the following OBJECT trigger

Change State of

Object: Topic one button

to state disabled

when timeline starts

Object - Topic one button

on condition -

if Total

Operator >=Greater then or equal to

Type Value

Value 6

You may also want to look at how you have programmed the variable count as if you watch Vid 1 2 then 3 and then re watch 1 it resets the variable to 1

hope it helps

John

Kim Nisbet

John,

"You may also want to look at how you have programmed the variable count as if you watch Vid 1 2 then 3 and then re watch 1 it resets the variable to 1"

I had the "video 1" condition as "=assignment" which reset the variable back to "1" and not to Add +1 as the others videos did.  All fixed now.

thanks again.