Your comments
What if the user should still be able to use the element for interactions, but the sound should only be played once?
11 years ago
Alin, you are a rockstar! Brilliant!
I checked out the butterfly puzzles yesterday, to see if something like this was used, but only found drag/self and drag/end.
But as you explain it, it sounds like it could work the way I want it to, so thank you so much :)
I'll give it a spin.
But as you explain it, it sounds like it could work the way I want it to, so thank you so much :)
I'll give it a spin.
That's what I did. Do you know any other things, that can affect the bug to occur, so I can avoid them?
I have made them from the + sign, since the manager isn't working very well (for me, at least). Ican try again with a fresh page, and see if it's better. Is there anything else I can do? I can't make a child behaviour directly from this place, can I?
Okay. I'm truly baffled!
I have looked and looked, and compared your settings to mine.
I have all the same settings. I made a new app with a single page, to start from scratch, and to make sure, that no old settings were getting in the way.
The counter is working, but it's not showing up, until I click the on the addcounter button.
As I said, I have all the same settings, I even took screenshots of all your settings, so I could compare, side by side, to see if I missed anything. And I really can't see what it should be.
Then I decided to copy your counter into my own app, to compare. That got me an error when going to interact and a prompt to restart the program.
I then thought, that perhaps, it was because there was some sort of interaction between the two elements, that the counter was missing, so I deleted that again, restarted, copied both elements, and pasted them on a new page in my own app. Same error when going to interact.
So what do you think? How can this be?
Is your program version different than mine, and how can the app you provided work in my program, but not when copied?
I really don't get it. That counter just doesn't show, before counteradd is tapped.
Here's the error from the copied version, that I get when entering Interact:
InteractBuilder Version: 3.3 Build 325
Device: iMac
Processor: Intel Core 2 Duo
Memory: 4 GB
System: 10.9.1
--------------------
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: Behavior_CounterDisplay
Hint:
Location: Line 4883, char 34
Object: button id 1008 of group id 1010 of card id 1002 of stack "Behaviors" of stack "/Applications/InteractBuilder.app/Contents/MacOS/Local Components/Data/InteractBuilder.livecode"
69: Line 4883 at char 34: Chunk: error in object expression
77: Line 4883 at char 34: Chunk: can't find object
456: Line 4883 at char 17: Object: does not have this property
465: Line 4883 at char 1: put: error in expression
253: Line 4875 at char 1: if-then: error in statement
253: Line 4874 at char 1: if-then: error in statement
253: Line 4872 at char 1: if-then: error in statement
241: Line 4872 at char 1: Handler: error in statement ----> Behavior_CounterDisplay
353: Line 0 at char 0: Object Name: ----> button id 1008 of group id 1010 of card id 1002 of stack "Behaviors" of stack "/Applications/InteractBuilder.app/Contents/MacOS/Local Components/Data/InteractBuilder.livecode"
675: Line 3245 at char 1: ----> Behavior_CounterDisplay
587: Line 3202 at char 1: switch: error in statement
253: Line 3172 at char 1: if-then: error in statement
253: Line 3169 at char 1: if-then: error in statement
253: Line 3095 at char 1: if-then: error in statement
241: Line 3095 at char 1: Handler: error in statement ----> _Behavior_Do
353: Line 0 at char 0: Object Name: ----> button id 1008 of group id 1010 of card id 1002 of stack "Behaviors" 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"
I have looked and looked, and compared your settings to mine.
I have all the same settings. I made a new app with a single page, to start from scratch, and to make sure, that no old settings were getting in the way.
The counter is working, but it's not showing up, until I click the on the addcounter button.
As I said, I have all the same settings, I even took screenshots of all your settings, so I could compare, side by side, to see if I missed anything. And I really can't see what it should be.
Then I decided to copy your counter into my own app, to compare. That got me an error when going to interact and a prompt to restart the program.
I then thought, that perhaps, it was because there was some sort of interaction between the two elements, that the counter was missing, so I deleted that again, restarted, copied both elements, and pasted them on a new page in my own app. Same error when going to interact.
So what do you think? How can this be?
Is your program version different than mine, and how can the app you provided work in my program, but not when copied?
I really don't get it. That counter just doesn't show, before counteradd is tapped.
Here's the error from the copied version, that I get when entering Interact:
InteractBuilder Version: 3.3 Build 325
Device: iMac
Processor: Intel Core 2 Duo
Memory: 4 GB
System: 10.9.1
--------------------
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: Behavior_CounterDisplay
Hint:
Location: Line 4883, char 34
Object: button id 1008 of group id 1010 of card id 1002 of stack "Behaviors" of stack "/Applications/InteractBuilder.app/Contents/MacOS/Local Components/Data/InteractBuilder.livecode"
69: Line 4883 at char 34: Chunk: error in object expression
77: Line 4883 at char 34: Chunk: can't find object
456: Line 4883 at char 17: Object: does not have this property
465: Line 4883 at char 1: put: error in expression
253: Line 4875 at char 1: if-then: error in statement
253: Line 4874 at char 1: if-then: error in statement
253: Line 4872 at char 1: if-then: error in statement
241: Line 4872 at char 1: Handler: error in statement ----> Behavior_CounterDisplay
353: Line 0 at char 0: Object Name: ----> button id 1008 of group id 1010 of card id 1002 of stack "Behaviors" of stack "/Applications/InteractBuilder.app/Contents/MacOS/Local Components/Data/InteractBuilder.livecode"
675: Line 3245 at char 1: ----> Behavior_CounterDisplay
587: Line 3202 at char 1: switch: error in statement
253: Line 3172 at char 1: if-then: error in statement
253: Line 3169 at char 1: if-then: error in statement
253: Line 3095 at char 1: if-then: error in statement
241: Line 3095 at char 1: Handler: error in statement ----> _Behavior_Do
353: Line 0 at char 0: Object Name: ----> button id 1008 of group id 1010 of card id 1002 of stack "Behaviors" 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"
That sounds great! :D
Update:
It showed up after the program was shut down and restarted.
But it should show up right away, I think :)
It showed up after the program was shut down and restarted.
But it should show up right away, I think :)
I can't set a bookcase image either. I'm using IB3.
The current image (since I didn't set one when I made the app)
I try to set the image here, although it says "set" already:
When clicking on (set), I get this menu, and click on "Select Image File", I then select a file, and nothing happens. I don't get any error messages either.
The current image (since I didn't set one when I made the app)
I try to set the image here, although it says "set" already:
When clicking on (set), I get this menu, and click on "Select Image File", I then select a file, and nothing happens. I don't get any error messages either.
Ah! Thanks. I see it :D
Customer support service by UserEcho