TileList drag and drop issue

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

Post 3+ Months Ago

Hi,
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.

Thanks,
Dhina
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • 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: 1828
  • 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 11 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-2014. Ozzu® is a registered trademark of Unmelted, LLC.