Skip to main content
Participating Frequently
November 30, 2017
Answered

advcanced actions, status and effects

  • November 30, 2017
  • 1 reply
  • 430 views

I´m struggling with the following:

1) I created a script to change a smartform  status from normal to pushed (it works fine in the project preview, but not at all as HTML5 in Edge Browser). Did I forget to assign s.th. special for HTML5?

script1

 2) wanted to trigger an object movement out of a script without pushing a button. I was able to move the object by assigning the move effect to a button. But this isn´t s.th. I want to do. The idea is: if a variable is set to a specific value, the object should move into the direction specified.

Move_effect

3) I created a custom movement effect and wanted to use it in a script. But if I open the movement variants within the script it offers only system pre-defined movements. I saw that I can design my own movements and store it somewhere in C2017. Didn´t try this, but still thinking why I´m not able to use my defined path for a movement. 

    This topic has been closed for replies.
    Correct answer Lilybiri

    o.k. I found the problem with the status change of this object.
    The problem was, that I was using the shadow option for the status "pushed". 
    I now, created a second picture reflecting the status I wanted to show and it works!

    To me it seems, that shadowing and mirroring doesn´t work as expected, to change a status for smartform filled with a picture.

    So part 1 is understood and done. Thx a lot.

    -------------------------------

    I read your post and need to see how I translate this to my problem of triggering a button out of a script.

    I´m not 100% clear yet, but will give it a try t´row.

    --------------------------------

    Also part 3 is an interesting question for me. Maybe you already have an idea for this challenge as well.


    About motion effects, totally different question. I explained how to create a custom effect in this very old article:

    Editing Motion Paths and Reusing Customized Effects - Captivate blog

    The work flow to have that custom effect available in the Advanced Actions dialog box is pretty cumbersome (maybe I should write out that in a small post):

    1. Create the custom motion effect with the time-based workflow and save it somewhere.
    2. Delete that effect (it can also be a combination of effects)
    3. Apply the custom effect to that object (use the browse icon to find it in the location where you save it)
    4. Delete the effect again.
    5. Open the Advanced Actions dialog box, and the category Custom will have been created, with your effect added to it.

    1 reply

    Lilybiri
    Legend
    November 30, 2017

    I try to see the translation of that advanced action. You have a shape button (that is the English term). Such a button has 3 Inbuilt States: Normal (same in German), Rollover and Down. Those states cannot be controlled by any command. only custom states can be controlled. Is the 'Pushed' state mentioned in your script a custom state? Maybe insert a screenshot of the Object states panel for that shape button.

    Here is a blog post I wrote where I do use a conditional shared action to toggle a button, controlled with a Boolean variable as you are using:

    1 action = 5 Toggle Buttons - Captivate blog

    Participating Frequently
    November 30, 2017

    yes, it is a custom state.I deleted the proposed system states you mentioned. Maybe this is the mistake I made.

    I will give it try with the system state "Down". Maybe I need to create the smartform again. Let´s see. I will let you know.

    You´re incredible fast and really helping me with all your hints. Thx so much !

    Lilybiri
    Legend
    November 30, 2017

    Sorry that I cannot answer in German, but you misunderstood. It is NOT possible to change to an InBuilt state, it needs to be a custom state. Can you post a screenshot of the Object state panel?

    Which event is used to trigger this advanced action? If you go to another slide and want to keep the 'Pushed' state, you need to check the option to Retain state.