[AS3] Context Sensitive Mouse

This is related to a project I’m working.

Its a design application. And so, there’ll be several tools to use.

Which would be a better way to proceed to acheive context-sensitive functions?

  1. global boolean values
  • have boolean values that dictate whether the state is active, and check for that state whenever a mouseevent occurs?
  1. single “state” value
  • 1 value that mouseevent checks for to determine the state the mouse is in?
  1. changing listeners to specific objects that will accept that event?

Thanks in advanced for any replies.