2 Replies Latest reply on Jan 27, 2010 3:09 AM by Harry Kunz

    XML Gallery Problem

    d0brin Level 1

      So here is the thing. I have made a gallery with xml, and my problem is that when the thumbnails are loaded they move on the Y axis and doesn't want to be in their original placed position. I am attaching a zip with my problematic sample to see what i mean.

        • 1. Re: XML Gallery Problem
          d0brin Level 1

          and if you have seen my problem how to set space between the thumbs?

           

           

          i fixed it..

          • 2. Re: XML Gallery Problem
            Harry Kunz Level 4

            What do you mean by "they move on the y-axis and doesn't want to be in their original placed position". I don't know what your original placed position is. One thing i have noticed is that you are using "Math.floor" in thumbclip._y = Math.floor(n / 2) * 75; which results in zero for n = 0 and n = 1 and the Math.floor of any decimal value is rounded down so when n = 1 it results in 0.5 and the Math.floor(0.5) is zero.