weird navigation issue
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
weird navigation issue
I have one card in my stack that wherever you touch/click on the screen, takes you back to the previous card. What would cause the entire screen to become clickable?
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: weird navigation issue
on mouseUp
in the card script
Simon
in the card script
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: weird navigation issue
Hi Simon,
I don't have a mouseUp command in the card script. I have a 3 button option group on all cards:
on mouseUp
lock screen for visual effect in rect (0,44,1024,678)
set the mgText of group "titleButton" to the mgOptionText of me
go to card the mgOptiontext of me
unlock screen with visual effect push up fast
end mouseUp
I have 3 main cards in the stack.
The 3rd card has Next/Previous buttons that push left/right to start you on a tour.
The "Next" button on card 3 takes you to card 4.
Card 4 is the card that becomes entirely clickable... and it's getting the "push up fast" effect and taking you back to card 3.
Roddy
I don't have a mouseUp command in the card script. I have a 3 button option group on all cards:
on mouseUp
lock screen for visual effect in rect (0,44,1024,678)
set the mgText of group "titleButton" to the mgOptionText of me
go to card the mgOptiontext of me
unlock screen with visual effect push up fast
end mouseUp
I have 3 main cards in the stack.
The 3rd card has Next/Previous buttons that push left/right to start you on a tour.
The "Next" button on card 3 takes you to card 4.
Card 4 is the card that becomes entirely clickable... and it's getting the "push up fast" effect and taking you back to card 3.
Roddy
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: weird navigation issue
i guess this would be easier if you posted the stack
Simon
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: weird navigation issue
Thanks. Referenced images will be missing...
Click Start after loading, then click Gallery Guide, then click Next to get to the problem card.
Click Start after loading, then click Gallery Guide, then click Next to get to the problem card.
- Attachments
-
- VisitorGuide.livecode.zip
- (161.86 KiB) Downloaded 176 times
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: weird navigation issue
Oh you are going to hate me!!!
I fixed it but I don't know why it should make a difference; Just move the navButtons in between topNavbar and titleButton.
Nope don't know why. but I think those "beforeMouseDown" might have something to do with it.
Simon
I fixed it but I don't know why it should make a difference; Just move the navButtons in between topNavbar and titleButton.
Nope don't know why. but I think those "beforeMouseDown" might have something to do with it.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: weird navigation issue
I've gone all warm and fuzzy inside
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!