Coding Problem?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Coding Problem?
I am making a simple 3 car* stack for iphone. I included buttons with code to advance to the next car*. I noticed when I click anywhere within the car* it will advance to the next car*. Also when I am on the 3rd car* and click the button to go back to the previous car*, it takes me to car* 1 - even if I specify in the code to go to car* 2. What did I do wrong? Also I am have to change the word CAR* in this question because I am getting an error message "You can't post image, email or url links that are external to the domain. Please remove car*" I am not posting anything except a question. Thank you guys.
Last edited by pugalug on Mon Jan 29, 2024 9:28 pm, edited 1 time in total.
Re: Coding Problem?
Hi pugalug,
what did you script and where did you put the scripts?
Best
Klaus
P.S.
Personal note:
A little "Hello" or something would not have hurt for the very first posting.
what did you script and where did you put the scripts?
Best
Klaus
P.S.
Personal note:
A little "Hello" or something would not have hurt for the very first posting.
Re: Coding Problem?
Thank you for the reply Klaus. Hello! I hope you are having a great day. I'm sorry to have broken protocol. I am deep in thought trying to learn this and didn't think to say hello. I appreciate any help I can get. Thank you! I used the mouseUp commands and put them in the code area for each of the buttons,
-
- VIP Livecode Opensource Backer
- Posts: 9732
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Coding Problem?
Hi.
You need, I think five (or is it ten?) posts in order to attach anything. I would not mind if you sent a series of "test" posts that we would ignore in order for you to reach the required level.
As for your question, did you mean "card" when you posted "car*"?
Anyway, navigation is simple, but as Klaus mentioned, we need to see what you actually did. Please enclose any code you send within the code tags (</>) so they are easier to read.
Craig
You need, I think five (or is it ten?) posts in order to attach anything. I would not mind if you sent a series of "test" posts that we would ignore in order for you to reach the required level.
As for your question, did you mean "card" when you posted "car*"?
Anyway, navigation is simple, but as Klaus mentioned, we need to see what you actually did. Please enclose any code you send within the code tags (</>) so they are easier to read.
Craig
Re: Coding Problem?
OK, so only your three buttons have a scipt, right?
Hm, sorry, no idea what could cause your problem then.
You could post the ZIPped stack here, but you need to have at least seven postings
before you can add attachement and post links etc.
However you could do some more or less meaningful postings here to get to that number!
Hm, sorry, no idea what could cause your problem then.
You could post the ZIPped stack here, but you need to have at least seven postings
before you can add attachement and post links etc.
However you could do some more or less meaningful postings here to get to that number!
Re: Coding Problem?
Thanks guys! Yes, the word was card. However, I didn't try to post any cards. I wrote a topic using words only but got that error message. I appreciate your help. I'm trying to figure it out. I don't want to be able to click anywhere on the card and and have it advance to the next one. I want to code the buttons to work properly.
Re: Coding Problem?
I got it guys! I know what I was doing wrong. I didn't click on the second button in order to write the code for it. Instead I thought of it as a whole and put the code under the code I wrote for the first button. Thanks for helping me. Much appreciation!
-
- VIP Livecode Opensource Backer
- Posts: 9732
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Coding Problem?
Aha. Good.
You will learn more about the nature of controls, the card on which they reside, the stack the card lives on, the hierarchy of them all, etc., as you get along.
The hard way is the best way. Just keep writing. Ask here. We all race to see who can answer first...
Craig
You will learn more about the nature of controls, the card on which they reside, the stack the card lives on, the hierarchy of them all, etc., as you get along.
The hard way is the best way. Just keep writing. Ask here. We all race to see who can answer first...
Craig
Re: Coding Problem?
I think this is great!dunbarx wrote: ↑Tue Jan 30, 2024 5:10 amAha. Good.
You will learn more about the nature of controls, the card on which they reside, the stack the card lives on, the hierarchy of them all, etc., as you get along.
The hard way is the best way. Just keep writing. Ask here. We all race to see who can answer first...
Craig