Forum Discussion
EmilyTobin
2 years agoCommunity Member
Keeping Track of Different Variables
In this project, the user is supposed to watch a video that acts as if they are looking out the front of their car. There is a button that allows them to switch views of the video - we'll call them ...
WaltHamilton
2 years agoSuper Hero
During the times that viewing View 2 is not allowed, disable the button (Change state of Button to Disabled when timeline of video view 1 reaches xx sec. And Change state of button to Normal when timeline of video view 1 reaches xx sec).
Put view 2 on a layer that has a 2 sec timeline and closes when its timeline ends. Create a timesViewed numeric variable. Add 1 to it when the timeline ends on view 2. Sort timesViewed to 0 when video view 1 starts.
Add trigger to button Show layer view 2 when user clicks button if timesViewed is <= [certain number of times].