Flip action reverses move

Flip action reverses move

tony_jenkins
Participant Participant
195 Views
4 Replies
Message 1 of 5

Flip action reverses move

tony_jenkins
Participant
Participant

I have developed the attached block that works well in one direction by moving elements a defined distance and changing visibility states .

To avoid label text mirroring I have used attributes and added a flip action . The problem is that when flipped the move actions move the elements in the wrong direction , the array parameter still works ok however .

I have tried rebuilding using stretch rather than move but get even more bizarre results especially when the block is rotated .

To see the undesirable results change the length , flip then try and change length again (not choosing a multiple of 6 for the length). 
Is there a setting that can stop this behaviour ??

0 Likes
Accepted solutions (1)
196 Views
4 Replies
Replies (4)
Message 2 of 5

Libbya
Mentor
Mentor

There is not any setting that you can change.  The behavior is correct.  You are moving points to specified coordinates.  Those coordinates do not flip when you activate the flip parameter.  You could potentially turn the point parameters into distance parameters and flip/rotate them. 

0 Likes
Message 3 of 5

tony_jenkins
Participant
Participant

I did try rebuilding using distance parameters and stretch action but had worse issues when flipped , rotated and then length changed .

the blocks separate vertically as well as horizontally .

0 Likes
Message 4 of 5

Libbya
Mentor
Mentor
Accepted solution

It will work fine with distance parameters instead of point parameters provided you don't set the distance parameters to 0 because at 0 they lose their rotation angle.  Instead offset the base of the distance parameters by a specific amount and offset all of the values by the same amount.  Another mistake within your block that is messing it up is the fact that you included the move/rotate actions in the selection set of the flip and rotate actions.  See attached.  

0 Likes
Message 5 of 5

tony_jenkins
Participant
Participant

Thats brilliant, thank you very much for your help

0 Likes