God, what a disaster. I'd say the right thing to do would be to add the
mask directly to the media container, but we rely in a few places on being
able to easily decorate the media container by winging other objects off
the edges, and we don't want to just create one mask that's big enough for
the user media as well as our decorations (because then malicious user
media could alter what the user perceives as our decorations).
Perhaps the right thing to do is make MsoySprite not be a subclass
of MediaContainer, but contain one. That's a refactor I won't be
rabbit-holing right now, thankyou.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@176 ed5b42cb-e716-0410-a449-f6a68f950b19
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: svn+ssh://src.earth.threerings.net/nenya/trunk@175 ed5b42cb-e716-0410-a449-f6a68f950b19
case we want to do something other than close the application at that
time).
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@173 ed5b42cb-e716-0410-a449-f6a68f950b19
- Allow CommandButtons to be set up with callback too. That's much
easier than adding a mouse listener, bla bla.
- Cleaned up CommandMenu's grabbing of menu properties.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@172 ed5b42cb-e716-0410-a449-f6a68f950b19
the user at the start, rather then after the first bundle has completed.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@157 ed5b42cb-e716-0410-a449-f6a68f950b19
localType in the local VM and are careful to use the exact same instance.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@149 ed5b42cb-e716-0410-a449-f6a68f950b19
operator. As such, the result can be negative. I've added a check to
prevent our next frame index from becoming negative.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@141 ed5b42cb-e716-0410-a449-f6a68f950b19
explaining why we don't care if we get a SecurityException.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@136 ed5b42cb-e716-0410-a449-f6a68f950b19
want to do it in our clients. Also demoted some log messages to debug and
widened.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@134 ed5b42cb-e716-0410-a449-f6a68f950b19
servers are running on the same host as different users.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@133 ed5b42cb-e716-0410-a449-f6a68f950b19
- While Menu.popUpMenu() takes a DisplayObjectContainer as a parent,
it will hork unless the parent is really a UIComponent.
Omit that parameter from our convenience function and allow the parent
to be set to the application.
- Changed show() with no args to show at the mouse location.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@131 ed5b42cb-e716-0410-a449-f6a68f950b19
is the first time I've felt a real benefit to using flex. It's standard!
People are fixing the deficiencies!
- Have CommandMenu extend that, and Bob's your uncle!
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@128 ed5b42cb-e716-0410-a449-f6a68f950b19