Re: lingo-l find next and previous values in list***

2002-08-11 Thread Andreas Gaunitz P11
Sorry, I don't relly get it. Can you type an example of the list? -A. Hi, I'm sorry but i didn't explain rigth. The problem is that I have all the castmembers filled but only a few of them has this parameter. So the user could be in an member that don't have your number in list and this is

Re: lingo-l find next and previous values in list***

2002-08-11 Thread Tab Julius
Are you saying this? - That you have a number of images - Some are tagged in their names - You have a list of the tagged images, e.g.: [32, 10, 19, 44] - The user can view the list in order - The user can also view ANOTHER image not in the list - You don't know how to get back to the next one

Re: lingo-l find next and previous values in list***

2002-08-09 Thread Rodrigo Peres
Hi, I'm sorry but i didn't explain rigth. The problem is that I have all the castmembers filled but only a few of them has this parameter. So the user could be in an member that don't have your number in list and this is the problem. example the user is seeing the image from member 20, but this

Re: lingo-l find next and previous values in list

2002-08-08 Thread Andreas Gaunitz P11
-- Moving to the right in a list: memberList = [21, 32, 43, 54] oldMemNum = sprite(blabla).memberNum oldMemIndex = memberList.getPos(oldMember) newMemIndex = oldMemIndex + 1 newMemNum = memberList[newMemIndex] sprite(blabla).memberNum = newMemNum -- Watch out for the ends of the list HTH