TileList drag and drop issue

  • dhina.techno
  • Newbie
  • Newbie
  • dhina.techno
  • Posts: 8

Post 3+ Months Ago

i have a tilelist which has drag and drop enabled.

my code:

<mx:TileList id="mytile" x="684" y="47"
dropEnabled="true" dragEnabled="true">

When i try to drag an item from my tilelist to the same tilelist, i get a new copy of the item, which i dont want to happen. Please help me solve this problem.

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1252
  • Loc: Ro

Post 3+ Months Ago

Hmm, never seen such code, is that actionscript 3?
don't know this particular case, but generally speaking, there shoul be an event triggered when the item is dropped. When that event happens, check if the object on which the item is dropped is your tilelist, and if so, cancel the drop.
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1825
  • Loc: In the Great White North

Post 3+ Months Ago

yup looks like AS3 inside of Flex...

I believe there are callbacks available for TileList's

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 3 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.