I am just starting on a project to replicate software that has push and hold functionality. If you hold a button for a second or so you get a different reaction than just clicking it. Not sure if I am making any sense.
Any thoughts from anyone on how I could replicate this?
Not sure...but for starters, what does the button look like in the software? So, what does it look like when it's held for a second or two vs. when it's released immediately?
Would it help the Learners if you initially defined the terms?
Press and hold means: press down on the mouse button and count to X
Click and release means: tap and immediately release the mouse button
I know this is an old post but maybe it will still be of help to someone.
I recently had a similar situation come up. We have a button that you have to press and hold with the mouse to display info. When the mouse is released it reverts back to the original info which is different.
I finally tried to use a Text Entry box, which is about the only thing that actually uses the trigger 'when control loses focus' that I've been able to find. I put it over my button and set the fill to none and the line to the color of its surroundings. Then I used 2 triggers. One to change the state of my click and hold info and another to hide it. I was surprised when it worked as expected! It wasn't perfect and I could only get it to work correctly in preview when I clicked on just the edges of the Text Entry box. If I clicked in the box a cursor showed up. I bet if I duplicated the button and layered & sized it all properly I could hide that.
I'll try to upload an example when I get a chance.
This thread is much older Rick, but I'm glad you were able to find a solution. If you're able to share what you set up that would be great to have for others who may come across the same issue.
Attached is a sample of what I did to simulate the mouse movement described above. It's not perfect and could probably use some work. It's free to anyone who needs it or wants to improve it.
Thanks Rick. I will try this as I still may need it.
Becky I am so sorry that I didnt respond to your posting before. I wasnt getting emails from the thread and I must have forgotten I asked the question. I appreciate anytime anyone provides guidance to me so thank you even if it is delayed by two years.
7 Replies
Hi Tim,
Not sure...but for starters, what does the button look like in the software? So, what does it look like when it's held for a second or two vs. when it's released immediately?
Would it help the Learners if you initially defined the terms?
Press and hold means: press down on the mouse button and count to X
Click and release means: tap and immediately release the mouse button
And then showed what press and hold looks like
And then showed what click and release looks like
And then..had a "Try it"
I know this is an old post but maybe it will still be of help to someone.
I recently had a similar situation come up. We have a button that you have to press and hold with the mouse to display info. When the mouse is released it reverts back to the original info which is different.
I finally tried to use a Text Entry box, which is about the only thing that actually uses the trigger 'when control loses focus' that I've been able to find. I put it over my button and set the fill to none and the line to the color of its surroundings. Then I used 2 triggers. One to change the state of my click and hold info and another to hide it. I was surprised when it worked as expected! It wasn't perfect and I could only get it to work correctly in preview when I clicked on just the edges of the Text Entry box. If I clicked in the box a cursor showed up. I bet if I duplicated the button and layered & sized it all properly I could hide that.
I'll try to upload an example when I get a chance.
This thread is much older Rick, but I'm glad you were able to find a solution. If you're able to share what you set up that would be great to have for others who may come across the same issue.
Attached is a sample of what I did to simulate the mouse movement described above. It's not perfect and could probably use some work. It's free to anyone who needs it or wants to improve it.
Rick
Uh...sorry...that's a Storyline 2 file by the way.
Rick
Thanks Rick. I will try this as I still may need it.
Becky I am so sorry that I didnt respond to your posting before. I wasnt getting emails from the thread and I must have forgotten I asked the question. I appreciate anytime anyone provides guidance to me so thank you even if it is delayed by two years.
Tim
Thanks Rick for the sample - always good to have those too. :-)
Glad you were able to pop back in here Tim and let us know if you need anything else!
This discussion is closed. You can start a new discussion or contact Articulate Support.