3 Replies Latest reply on Jun 23, 2007 2:05 PM by kglad

    Drag And Drop

    Rajesh Kaki Level 1
      Hi,
      I have one problem in flash drag and drop application , i have one drop zone and many dragable objects are there(tiles).
      i want to drop those tiles into that Drop zone at a time, i want an arrangement like linear arrangement of tiles on that drop zone.
      if i remove one tile, The arrangement is changed according to the present tiles on drop zone.
      Please help me on this application
        • 1. Re: Drag And Drop
          kglad Adobe Community Professional & MVP
          linear in what direction? apparent depth, along the x-axis, y-axis? something else?
          • 2. Re: Drag And Drop
            Rajesh Kaki Level 1
            Hi,
            Suppose i have 100*100 pixels size drop zone is there.
            I have 10 tiles are there having size 20*20 pixels , i want to drag those tiles onto that drop zone. I need an arrangement,Not overlapping with other tiles. Like

            following "s" picture is Drop zone and "R" Pics are tiles

            sssssssssssss
            sssssssssssss RRR RRR RRR RRR
            sssssssssssss RRR RRR RRR RRR
            sssssssssssss
            sssssssssssss

            when i drag those tiles onto that DropZOne i need an arrangement without overlapping of tiles.


            • 3. Re: Drag And Drop
              kglad Adobe Community Professional & MVP
              when you have a success drop onto the target increment a variable that tracks the number of successful drops. use that variable's value to determine where to position the most recent successful drop.