So I 'm coding a Flash animation where there are two streams
of MovieClip objects scrolling both right to left on the top
portion of the Stage and left to right on the bottom portion of the
Stage. Each object is attached the Stage using attachMovie() and
after they cross the Stage they are removed. I want to be able to
attach some kind of listener to each object so they are can respond
to onRollOver() and onPress(). Does anyone have any tips?
you can add one listener to many movieclips, but that can't
be used to define actions related to a movieclip that doesn't exist
when the listener is created. you'd have to recreate the listener
each time a movieclip is created/attached.
why not define those handlers for movieclips as they are