Click triggers with fade in and out
Apr 28, 2015
Hi!
I have a Button (A) with which alters a variable between true and false. When the variable is true Button (B) shows and Button (C) is hidden. When I press Button (A) again the variable switches to false which in turn hides Button (B) and shows Button (C).
The problem arises when I apply fades in and out to the buttons, the objects have no issue fading in but when it comes to fading out, they stay for around 1 second then disappear.
Could anyone help me with this? Why will the fade out not work?
9 Replies
Please upload the slide in a .story format so we can look at what has been done.
Hi, Callum -
I agree that it would be helpful to see your file, but based on your description, it might be possible that your triggers/variables are contributing to the issue. Could you please take a look at this information on The Order in Which Triggers Are Executed in Articulate Storyline?
Apologies for the late reply,
I have attached the file. Its nothing special, I was just curious how the animations would work for a simple fade in and out and hopefully you will be able to understand what I'm trying to do.
Best Regards
Edit: I had a look over the trigger orders tutorial and I don't think that is where the issue lies. The triggers and variable appear to be working as intended, the buttons simply do not fade when their variable sets them to not be shown, they just disappear.
Hi Callum,
For Button(B) and Button(C) you have given the fade out effect and Duration 0.75 sec. Please update that Duration to 0.10 or as per your requirement, it will work perfectly. Also please find the attachment for updated story file. I have made fade out duration to 0.10 sec.
I think there might be a misunderstanding, the duration isn't the issue, the problem is that the fade out is not happening at all. Its an instantaneous disappear. There is no gradual fade which is what I would expect from a fade out animation.
I hope this provides some clarity to my issue.
Hey Callum,
As I know for gradual fade we need to mention the duration as in my file I mention it for 0.10 Sec. Anybody have any other idea please suggest the same.
Hi, Callum -
What I see happening is that since you are using layers, if you click to close one layer and open the next, you will not reach the part of the first layer's timeline where the fade out animation is supposed to occur (ie. if the timeline runs 5 seconds, and you click out of it at 3 seconds, you will never hit the point .75 before the timeline ends where the fade out animation is supposed to begin). Hope that makes sense!
What you could do is add the items to the base slide and have them set to change state to Hidden/Normal upon click. This way the animation will work when the items are Hidden. Please see the attached file.
Hi Christie,
That's exactly what I was wanting the button to do. I was under the assumption that in order for the buttons to be hidden, a layer had to be used. This obviously isn't the case!
Thanks for the help!
Happy to help, Callum! :)
This discussion is closed. You can start a new discussion or contact Articulate Support.