Skip to main content
Participant
December 2, 2011
Answered

same item clicked in tileList?

  • December 2, 2011
  • 1 reply
  • 478 views

I want to know when the same item in a tileList has been clicked so I can remove that item. All the tutorials I've found use a Change event on the tileList which doesn't fire when the same item has been clicked again. What is the best way to do this?

This topic has been closed for replies.
Correct answer chris.watson.media@gmail.

Never mind, I figured it out. I'm using MouseEvent.CLICK instead of Event.CHANGE and then I'm storing the currentTarget and comparing it to the new one.

1 reply

chris.watson.media@gmail.AuthorCorrect answer
Participant
December 2, 2011

Never mind, I figured it out. I'm using MouseEvent.CLICK instead of Event.CHANGE and then I'm storing the currentTarget and comparing it to the new one.