Skip to main content
Participant
January 31, 2007
Question

Drag Selection Help!

  • January 31, 2007
  • 1 reply
  • 136 views
Hello All!

I am new to this forum and to flash. I have something that may or may not be simple.

I essentially want to setup (visually) a grid.
Inside this grid the user can click hold and drag through the cells and a color will apply as the user drags across the cells.
I have been playing with dragOver but so far .. nothing
Can anyone help a new guy out?

This topic has been closed for replies.

1 reply

Inspiring
January 31, 2007
Hint:
onMouseDown
cell.hitTest(_root._xmouse, _root._ymouse)
ColorTransform

you must use a onMouseDown event listener
and test with cellName.hitTest(_root._xmouse, _root._ymouse)
if true use colorTransform on the cell movieClip