Help with Drag and Drop states

R Rothrock

117 posts

Posted Wednesday, August 22, 2012 at 8:38 AM  

I'm making a drag and drop and I'm not understanding the states for the drags.

 

There seems to be a blueish glow added to my drags. I didn't add it and I don't want it, but can't find where it is coming from. How do I change/get rid of it?

 

Drag over. I would assume this is the state for when i drag over any target/hot spot. But it only seems to happen when I drag over the correct target. Is that how it is supposed to work.

 

Drop correct. I would assume this is what happens when I drop the drag on a correct target. But it doesn't take effect until I select the next drag — it remains on selected. Is that correct? I have it set to "return item to start point if dropped outside a correct drop target." To me that would mean, "evaluate this when it is dropped." If SL knows that it is dropped correct/incorrect I would want my user to also know at that moment. 

 

I think the problem with drop correct is because I have a Selected state? Seems to go away if I remove that.


DragExample.story

This post has 0 verified answers

All Replies

R Rothrock

117 posts

Posted Wednesday, August 22, 2012 at 1:28 PM  

So by getting rid of most of the states (like Selected) I was able to get rid of most of the problems. I'm still left with 2.

 

One. Sometimes there is a blue glow added to the Drag Over (?) state. Sometimes not. Still can't figure out where that is coming from.

 

Two. Drag Over seems to be only Drag-over-the-correct-drop-target. Is that correct? Is there a way to fix that.

 

[update on one] I found that somehow some of my drags had a Drag Over > Drawing Tools Format > Shape Effects > Glow set. I didn't set it. And I don't know why only some of them have it and some don't. So I guess question one becomes, "Why?"


Magda Diaz

79 posts

Posted Wednesday, August 22, 2012 at 2:31 PM  

I feel your pain. Something is definitely strange with the Drop and Drag states sometimes. I had a similar problem and discovered that there were 2 drop states in my menu.

 


R Rothrock

117 posts

Posted Wednesday, August 22, 2012 at 4:04 PM  

Hey there Magda. How you doing? Long time no see.

 

Each drag has only three states. Normal, Drop correct, and Drag over.

 

I was just showing it to someone else and the first thing they asked me was why they weren't changing to the color on dragging over the hot spot. Well tomorrow is another day....


Posted Friday, January 04, 2013 at 4:07 PM  

Hi everyone,

 

I have the same doubt and cannot work it out.

I want to have a new state when a draggable object is drop over a target, but not only with the correct.

 

Any help from the Articulate staff?


Jill McNair

512 posts

Posted Friday, January 04, 2013 at 11:08 PM  

Suggested Answer

Gonzalo,


 


See if this screenr helps http://screenr.com/3mA7. The file is attached below.  This addresses only Storyline's built-in states - of course you can add any custom state that you want.


 


Regarding the question posed above: I know that this post is several months old, but I looked at the file, and on many of the Selected and Drag Over states do indeed have blue glows on them.  Not sure how they got there or why they do not show when you are looking at them in the States panel, but they are there nonetheless and can be turned off as mentioned above: Drawing Tools Format > Shape Effects > Glow.  I have found Storyline sneaking in some glow states - especially when adding Selected states, but you can always turn it off - but you have to turn it off on every state.  Hopefully you were able to fix this months ago!


Drag&Drop_States.story

Posted Saturday, January 05, 2013 at 6:01 AM  

Thank you Jill!

 

I guess I messed it up a little, but I managed to make it work. Your solution is simpler.

 

I needed to

  1. add another change of state (to hidden) so the correct item disappeared  when dragged onto the target object,
  2. let a draggable item be dropped on more than one target object.

Any ideas how to make the course to jump to a new slide after all the items where dropped correctly?

 


Drag&Drop_States_&_Hidden.story