2 Replies Latest reply on Sep 29, 2007 11:39 AM by PVB.BE

    Problem with function dynamically created in a loop

    PVB.BE
      Hi, the project is to create a thumbnail picture dynamically from a xml file and display the big picture with the event onPress. My problem is that I create dynamically a function onPress for each thumbnail and inside the function the name of the picture to load. I get no error but the picture loaded is always the last one of the loop. Where is my mistake ? Is there a workaround ?
      Any help will be welcome. I have work hard on this but have no more idea. Thanks a lot for you reply