Oooh. I had to do the trick of filling in the bounds with transparent pixels so that I'd receive mouse clicks. While contemplating how bitchy to be in my check-in comment, I wondered why I hadn't needed this when the video was hosted inside a MediaContainer. It occurred to me that perhaps the mask was helping, and sure enough: a sprite's mask helps define the bounds of the sprite for mouse event purposes.
Oooh. I had to do the trick of filling in the bounds with transparent
pixels so that I'd receive mouse clicks. While contemplating how bitchy
to be in my check-in comment, I wondered why I hadn't needed this when
the video was hosted inside a MediaContainer. It occurred to me that perhaps
the mask was helping, and sure enough: a sprite's mask helps define the
bounds of the sprite for mouse event purposes.

That's really good to know. I'll have to experiment further.

So: set up a mask on the VideoDisplayer, for no other reason than to
be informed of mouse events in all cases.


git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@175 ed5b42cb-e716-0410-a449-f6a68f950b19

threerings/nenya,threerings/nenya