Because the current selection cannot have actions applied to
it! That is why.
If you are publishing to AS3, you won't be able to put code
on MovieClip or Button instances using the on(event) type syntax.
Either change your publish setting to AS2 or better yet, stop using
this really old method.
Here is a really good article about the issue and why on()
should be dumped: