this script is in a button on all cards that ascends to the last card of stack "inventory". I'm trying to get to card "inventory1" in another stack if the current card is the last card of the "inventory" stack.
on mouseUp
if this cd is last cd of stack "inventory" then
go to cd "inventory1" of stack "invControl"
else
go next
end if
end mouseUp
any suggestions appreciated,
Patrick
if last card of stack then
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: if last card of stack then
Hi.
I would have written this as:
if the number of this cd = the number of cds
And do you need to put this in a button? Why not in the stack script, in an openCard handler? Although maybe you want to navigate manually.
Craig Newman
I would have written this as:
if the number of this cd = the number of cds
And do you need to put this in a button? Why not in the stack script, in an openCard handler? Although maybe you want to navigate manually.
Craig Newman