0
Fixed

Multiple movement behaviors bug

Ranco 7 years ago in By Screen / Design updated by Ezra Weinstein (Administrator) 7 years ago 1

I tried to create a path animation - move a paddle ball along a path (8 points).

So I've added 8 "Move -> Movement" behaviors (first one with Tab action, the others I planed to set each one after its predecessor).

This is how it looks:


When I clicked the Manage Action Set - this is what I got:



which is not what I've expected.


Anyway, clicking "change..." on any of the targets generated this error:


An application error occurred while attempting to perform the last action.

Restarting InteractBuilder is recommended.

Error: Chunk: can't find background / Chunk: can't find object / Object: does not have this property / put: error in expression

Handler: redrawTable

Hint: 

Location: Line 386, char 20

Object: button id 70090 of card id 1002 of stack "IBResources" of stack "C:/Program Files/InteractBuilder/Local Components/Data/InteractBuilder.livecode"

87: Line 386 at char 20: Chunk: can't find background

77: Line 386 at char 20: Chunk: can't find object

456: Line 386 at char 8: Object: does not have this property

465: Line 386 at char 1: put: error in expression

241: Line 386 at char 1: Handler: error in statement ----> redrawTable

353: Line 0 at char 0: Object Name: ----> button id 70090 of card id 1002 of stack "IBResources" of stack "C:/Program Files/InteractBuilder/Local Components/Data/InteractBuilder.livecode"

573: Line 132 at char 1: Handler: can't find handler ----> redrawTable

253: Line 128 at char 1: if-then: error in statement

253: Line 27 at char 1: if-then: error in statement

253: Line 19 at char 1: if-then: error in statement

241: Line 19 at char 1: Handler: error in statement ----> uSTSTableView

353: Line 0 at char 0: Object Name: ----> button id 70090 of card id 1002 of stack "IBResources" of stack "C:/Program Files/InteractBuilder/Local Components/Data/InteractBuilder.livecode"

449: Line 2344 at char 4: Object: can't set object property

535: Line 2344 at char 1: set: can't set property

241: Line 2344 at char 1: Handler: error in statement ----> MAS_BS_SetupDialog

353: Line 0 at char 0: Object Name: ----> button id 1012 of card id 1002 of stack "Behaviors" of stack "C:/Program Files/InteractBuilder/Local Components/Data/InteractBuilder.livecode"

573: Line 578 at char 1: Handler: can't find handler ----> MAS_BS_SetupDialog

253: Line 573 at char 1: if-then: error in statement

241: Line 573 at char 1: Handler: error in statement ----> MAS_Change

353: Line 0 at char 0: Object Name: ----> button id 1012 of card id 1002 of stack "Behaviors" of stack "C:/Program Files/InteractBuilder/Local Components/Data/InteractBuilder.livecode"

675: Line 9 at char 1:  ----> MAS_Change

241: Line 9 at char 1: Handler: error in statement ----> mouseUp

353: Line 0 at char 0: Object Name: ----> graphic id 4515586 of group id 4554730 of group id 4515587 of group id 4510993 of group id 4510989 of card id 1139 of stack "C:/Program Files/InteractBuilder/Local Components/Data/InteractBuilder.livecode"

button id 1299 of card id 1002 of stack "libSTSErrors" of stack "C:/Program Files/InteractBuilder/Local Components/Data/InteractBuilder.livecode",errorDialog,150

stack "C:/Program Files/InteractBuilder/Local Components/Data/InteractBuilder.livecode",DoError,9972,button id 1004 of card id 1002 of stack "Behaviors" of stack "C:/Program Files/InteractBuilder/Local Components/Data/InteractBuilder.livecode"



Ranco

Israel SQA team...

Update:

Well, first - I should have used: Animate -> Linear, instead of Movement -> Move.

But the bug is the same.


The way to override this bug is to indent each animation right after it is added. This way it works fine.

Another bug I've encountered on the way: once you have 7-8 such animations, the "Manage Action Sets" window is messy, some kind of scroll issue: