0
W trakcie analizy

Play audio bug when assigning multiple .mp3 clips to same element

Charmaine Anderson 10 lat temu Ostatnio zmodyfikowane przez Alin Alexandru Matei 10 lat temu 1
When trying to add more than one Play audio clip acton to an element and setting the action to play on page load, I get the error message below in design mode if I try to assign more than one .mp3 sound to the same element.  For example I have a voice .mp3 and then I wanted to assign a looping background sound to play also on page load. This error is consistent even after exiting and rebooting. Occurs after 2nd or 3rd .mp3 file is assigned to the same element. Thanks for looking into this issue.

InteractBuilder Version: 3.3 Build 325
Device: MacBook Pro
Processor: Intel Core i7
Memory: 4 GB
System: 10.7.5
--------------------
An application error occurred while attempting to perform the last action.
Restarting InteractBuilder is recommended.
An application error occurred while attempting to perform the last action.
Restarting InteractBuilder is recommended.
Error: Chunk: error in object expression / Chunk: can't find object / Object: does not have this property / put: error in expression
Handler: ShowBehaviorTargets
Hint:
Location: Line 1324, char 55
Object: button id 1012 of card id 1002 of stack "Behaviors" of stack "/Applications/InteractBuilder.app/Contents/MacOS/Local Components/Data/InteractBuilder.livecode"
69: Line 1324 at char 55: Chunk: error in object expression
77: Line 1324 at char 55: Chunk: can't find object
456: Line 1324 at char 29: Object: does not have this property
465: Line 1324 at char 1: put: error in expression
253: Line 1322 at char 1: if-then: error in statement
253: Line 1321 at char 1: if-then: error in statement
253: Line 1309 at char 1: if-then: error in statement
587: Line 1288 at char 1: switch: error in statement
490: Line 1282 at char 1: repeat: error in statement
253: Line 1277 at char 1: if-then: error in statement
241: Line 1277 at char 1: Handler: error in statement ----> ShowBehaviorTargets
353: Line 0 at char 0: Object Name: ----> button id 1012 of card id 1002 of stack "Behaviors" of stack "/Applications/InteractBuilder.app/Contents/MacOS/Local Components/Data/InteractBuilder.livecode"
573: Line 2348 at char 1: Handler: can't find handler ----> ShowBehaviorTargets
241: Line 2348 at char 1: Handler: error in statement ----> MAS_ChangeTarget
353: Line 0 at char 0: Object Name: ----> button id 1012 of card id 1002 of stack "Behaviors" of stack "/Applications/InteractBuilder.app/Contents/MacOS/Local Components/Data/InteractBuilder.livecode"
675: Line 5409 at char 1: ----> MAS_ChangeTarget
587: Line 5331 at char 1: switch: error in statement
587: Line 5077 at char 1: switch: error in statement
253: Line 5072 at char 1: if-then: error in statement
241: Line 5072 at char 1: Handler: error in statement ----> PopOverDoMenu
353: Line 0 at char 0: Object Name: ----> button id 380192 of card id 1002 of stack "IBResources" of stack "/Applications/InteractBuilder.app/Contents/MacOS/Local Components/Data/InteractBuilder.livecode"
573: Line 4900 at char 1: Handler: can't find handler ----> PopOverDoMenu
253: Line 4809 at char 1: if-then: error in statement
241: Line 4809 at char 1: Handler: error in statement ----> PopOverSubmenu_Select
353: Line 0 at char 0: Object Name: ----> button id 380192 of card id 1002 of stack "IBResources" of stack "/Applications/InteractBuilder.app/Contents/MacOS/Local Components/Data/InteractBuilder.livecode"
675: Line 983 at char 1: ----> PopOverSubmenu_Select
253: Line 982 at char 1: if-then: error in statement
253: Line 981 at char 1: if-then: error in statement
587: Line 976 at char 1: switch: error in statement
241: Line 976 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 "/Applications/InteractBuilder.app/Contents/MacOS/Local Components/Data/InteractBuilder.livecode"
675: Line 244 at char 1: ----> stsTableView_mouseUp
253: Line 212 at char 1: if-then: error in statement
253: Line 208 at char 1: if-then: error in statement
587: Line 204 at char 1: switch: error in statement
241: Line 204 at char 1: Handler: error in statement ----> touchMouseUp
353: Line 0 at char 0: Object Name: ----> button id 70091 of card id 1002 of stack "IBResources" of stack "/Applications/InteractBuilder.app/Contents/MacOS/Local Components/Data/InteractBuilder.livecode"
573: Line 184 at char 1: Handler: can't find handler ----> touchMouseUp
253: Line 183 at char 1: if-then: error in statement
241: Line 183 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 "/Applications/InteractBuilder.app/Contents/MacOS/Local Components/Data/InteractBuilder.livecode"
line 150 of handler "errorDialog" of button "stsErrors_FS" of card id 1002 of stack "libSTSErrors"
line 14245 of handler "DoError" of stack "InteractBuilder" of behavior button "Stack B" of card id 1002 of stack "Behaviors"

Odpowiedź

Odpowiedź
W trakcie analizy
So you have PlayAudio ( Execute on Page load), to this you have chained another PlayAudio (with loop) and to the second one chained another PlayAudio?
I've tried to recreate as I said above but the only problem that I found is that the third PlayAudio will not occur since it must play after the second one ( but the second one is on a loop).
Could you send us a sample app with the problem you have?
Odpowiedź
W trakcie analizy
So you have PlayAudio ( Execute on Page load), to this you have chained another PlayAudio (with loop) and to the second one chained another PlayAudio?
I've tried to recreate as I said above but the only problem that I found is that the third PlayAudio will not occur since it must play after the second one ( but the second one is on a loop).
Could you send us a sample app with the problem you have?