Drawing lines with the mouse
I've been scratching my head on this all morning. I've added rectangles to the stage at runtime via AS 3.0. I drag those rectangles elsewhere on the stage. Now I'd like to use some method to click on one of those rectangles and draw a line to anywhere else on the stage - ideally another rectangle. I thought about using RIGHT_MOUSE_UP and RIGHT_MOUSE_DOWN but those don't seem to work on the Mac using the magic mouse. It's treated as a left click. Anyone have any sample code that might do what I'm looking for?
Thanks!