Skip to main content
Participating Frequently
October 31, 2016
Answered

Need help with object state in drag and drop

  • October 31, 2016
  • 2 replies
  • 313 views

no_obj_actions change_of_state_grayed_outI want my drag sources to apply the effect of dissolving downward (or otherwise disappear) when they are dragged upon a drag target. I've watched two videos on this topic and think I understand what I am to do, but I don't seem to have the required options in my properties using Captivate 9.0.2.421. In one approach I've tried, the action "Change State to" is grayed out for me: http://screencast.com/t/FikFHrczi In another approach, I do not have the Object Actions option http://screencast.com/t/7yPsk4iqJ where I think it's supposed to be. Clearly not doing something right, but cannot figure it out!

    This topic has been closed for replies.
    Correct answer Lilybiri

    Most tutorials are pretty incomplete, sorry to say so. Video is a quick way to show something, but not always to explain in depth.

    First of all: in Captivate 9 the D&D objects all have InBuilt states. From your questions, i suspect you are not aware of those? Have a look at my blog post explaining all those states:

    Drag&Drop in 2016 with Captivate 9 - Captivate blog

    In the first video you point to the Actions tab for the D&D interactions. That action will be executed only when the Submit button has been clicked. I don't think that is what you want? You can always trigger an advanced action at that moment, and you'll have the commands Change state there, but you first have to add custom states to the drag or the drop objects.

    In the second video you show that you cannot see the Object actions. They become visible only when you select a drop target. More info in this older post:

    Drag&Drop tips - Captivate blog

    When you select a drop target, you'll find in the Format tab also the Snap options. You can indicate to have drop sources shrink to a smaller size, disappear behind the drop target or become more or less transparant by changing the Alpha setting. Maybe that is what you really want? It would be the easiest way.

    2 replies

    Participating Frequently
    November 1, 2016

    Thank you very much for taking the time so send such a detailed response! In the end, I decided to just hide the drop sources once they were dragged onto my drop targets. But I would really love to learn how to make drag and drops that operated like the ones in your blog - the ornaments going into either the trash can or the box in particular. Thanks again!

    Lilybiri
    Legend
    November 1, 2016

    It has been done just with the InBuilt states. Nothing complicated.

    Lilybiri
    LilybiriCorrect answer
    Legend
    October 31, 2016

    Most tutorials are pretty incomplete, sorry to say so. Video is a quick way to show something, but not always to explain in depth.

    First of all: in Captivate 9 the D&D objects all have InBuilt states. From your questions, i suspect you are not aware of those? Have a look at my blog post explaining all those states:

    Drag&Drop in 2016 with Captivate 9 - Captivate blog

    In the first video you point to the Actions tab for the D&D interactions. That action will be executed only when the Submit button has been clicked. I don't think that is what you want? You can always trigger an advanced action at that moment, and you'll have the commands Change state there, but you first have to add custom states to the drag or the drop objects.

    In the second video you show that you cannot see the Object actions. They become visible only when you select a drop target. More info in this older post:

    Drag&Drop tips - Captivate blog

    When you select a drop target, you'll find in the Format tab also the Snap options. You can indicate to have drop sources shrink to a smaller size, disappear behind the drop target or become more or less transparant by changing the Alpha setting. Maybe that is what you really want? It would be the easiest way.