0
Fixed

altering duplicated element and animation

Ann K AlteredEssence 11 років тому оновлено Ezra Weinstein (Administrator) 11 років тому 2

I created an animation and an element to activate the animation when tapped which was then duplicated 7 times to save from having to recreated the same set up on each. I changed the names of the element and the animations sequentially so each element would have its own identification.  When I attempt to change the target for the copied items so it will activate the the proper animation the following error message appears. 


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

Restarting InteractBuilder is recommended.

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

Handler: PreloadAnimation

Hint: 1

Location: Line 9855, char 24

Object: button id 1004 of card id 1002 of stack "Behaviors" of stack "C:/Program Files (x86)/InteractBuilder/Local Components/Data/InteractBuilder.livecode"

89: Line 9855 at char 24: Chunk: no such object ----> 1

77: Line 9855 at char 24: Chunk: can't find object

456: Line 9855 at char 14: Object: does not have this property

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

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

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

241: Line 9850 at char 1: Handler: error in statement ----> PreloadAnimation

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

573: Line 7866 at char 1: Handler: can't find handler ----> PreloadAnimation

241: Line 7866 at char 1: Handler: error in statement ----> _DA_Preload

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

573: Line 7505 at char 1: Handler: can't find handler ----> _DA_Preload

241: Line 7505 at char 1: Handler: error in statement ----> DefineAnimation_Open

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

573: Line 2713 at char 1: Handler: can't find handler ----> DefineAnimation_Open

587: Line 2561 at char 1: switch: error in statement

587: Line 2322 at char 1: switch: error in statement

241: Line 2322 at char 1: Handler: error in statement ----> PopOverMenu_PrepSubMenu

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

573: Line 1175 at char 1: Handler: can't find handler ----> PopOverMenu_PrepSubMenu

587: Line 1169 at char 1: switch: error in statement

241: Line 1169 at char 1: Handler: error in statement ----> PopOverMenu_Select

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

573: Line 889 at char 1: Handler: can't find handler ----> PopOverMenu_Select

587: Line 887 at char 1: switch: error in statement

241: Line 887 at char 1: Handler: error in statement ----> stsTableView_mouseUp

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

675: Line 167 at char 1:  ----> stsTableView_mouseUp

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

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

587: Line 127 at char 1: switch: error in statement

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

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

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

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


Відповідь

Відповідь
Fixed

Were these frame animations?  I wasn't able to recreate this issue although I found another problem when duplicating frame animations.

Under review

Were these frame animations?  I wasn't able to recreate this issue although I found another problem when duplicating frame animations.

Yes, frame animations with an  'invisible" element on top set to a tap action to animate the frame animation below

Started

Were these frame animations?  I wasn't able to recreate this issue although I found another problem when duplicating frame animations.

You asked if I had odd items in the element and animation names like apostrophes, no I do not...I know apostrophes are not my friend.

they are actually titled:

"bell anim A" for the animation and "clear flower tap A" for the element. The subsequent copies of each of these have the same name but the letter changes  C,D,E,F,G,B for each copied item.

Відповідь
Fixed

Were these frame animations?  I wasn't able to recreate this issue although I found another problem when duplicating frame animations.