Variable doing the opposite of what it says

Hi,

I have the following: Slide with button to play and stop music when user clicks button. Button has two states, Normal = "Turn Music Off" and Selected = "Turn Music On" with the following variables:

  • 1st variable: "Stop Media when user clicks button 1 if button is in state Normal"
  • 2nd variable: "Play Media when user clicks Button 1 if button is in state Selected"

I want the music to play by default. If the user clicks "Turn Music Off" the music should stop. If user clicks "Turn music on" the music should start. Instead what happens is the music does not play by default, and when user clicks initial state button "Turn Music off" the music plays and when user clicks "Turn Music On" the music stops. 

You would think that reversing the logic would work, but it doesn't - it just becomes more complicated.

Can anyone tell me what I'm doing wrong? 

5 Replies
Ned Whiteley

Hi Deirdre,

If you haven't already done so, I would highly recommend working through the Storyline tutorials that are available through the Learn menu at the top of the page. The direct link to the page on Storyline is here:

https://community.articulate.com/series/getting-started-with-storyline-360

These will give you a good background on the basics and get you quickly up and running.