Copy link to clipboard
Copied
Hallo,
ich habe ein Objekt mit 3 Status und eine bedingte erweiterte Aktion dazu, die jeden der 3 Status identifizierbar machen soll, weil nur einer der Status als "richtig" akzeptiert werden soll (mit jedem Klick sollen sich Status und Wert der Variable ändern, bei "Senden" soll die Variable überprüft werden und je nach Wert ein "richtig" oder "falsch" eingeblendet werden). Meine bisherigen Versuche sind leider gescheitert. Der aktuelle Stand:
Reiter 1:
IF [var] ist gleich [0]
THEN Status ändern von [Objekt] zu [Status 1] + zuweisen [var] mit [1]
Reiter 2:
IF [var] ist gleich [1]
THEN Status ändern von [Objekt] zu [Status 2] + zuweisen [var] mit [2]
Reiter 3:
IF [var] ist gleich [2]
THEN Status ändern von [Objekt] zu [Status 3] + zuweisen [var] mit [0]
Egal ob ich THEN leer lasse oder "Weiter" eingebe, ändert sich leider der Status und damit auch die Variable nicht.
Hat jemand eine Idee, wie ich das Problem löse?
Vielen Dank im Voraus!
This is the approach I would take here.
1. Two variables - one for each object (for example myVar and myVar2)
This action - when you click on your click box will go to the next state and increment your variable.
The second part - checkVars - will make sure that the variable value cycles around like the object states do
You will need two advanced actions - one for each object.
It will be the same setup for both but the name of the shape (myShape or myShape2) will change as will the corresponding v
...Copy link to clipboard
Copied
Good hint, thank you! I still don't know where to look for the problem: Now it works like it did before! I wonder at which point this will change again... No matter, the way to make the values of the variables visible is great!
Copy link to clipboard
Copied
Each of your states has (or should) have a value associated with it.
You should have a button or some other event by which those states change, along with the variables.
So...
State1 - variable0
click button
State2 - variable1
click button
State3 - variable2
If you click the button and the states change but the variables do not then you should inspect the action on your button at the point where the cycle breaks.
Copy link to clipboard
Copied
Exacty this is what happens: The variables change as supposed...
Copy link to clipboard
Copied
There must be something somewhere else in the logic that is interfering then.
Are you sure that the values that you are looking for are properly tied to each state?
Copy link to clipboard
Copied
I don't know where to look for the problem, because now it works - without having changed anything... When I first made the advanced action, it was fine. After some time I retried it - and it didn't work. Now it's fine again. I hope this will stay this way, because I have no idea why this happens.
Thank you for your help!
Copy link to clipboard
Copied
Intermittent is a four letter word to the troubleshooter.
Tough to solve if the issue cannot be reliably repeated.
Perhaps make sure that you do not have any remnants of old actions that are still tied to something.
It will certainly be easier to solve once you discover the actual process or mechanism that introduces the error.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more