Commit Graph

790 Commits

Author SHA1 Message Date
Michael Bayne 29e616700e Accept mavenized versions of our SWC depends.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@797 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-30 23:05:08 +00:00
Michael Bayne d5c9e38c34 More asdoc fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@796 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-30 23:04:54 +00:00
Ray Greenwell 05ee3c0f58 A helpful class for flex.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@795 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-27 01:48:17 +00:00
Tom Conkling 590fef5fed DisplayUtil.transformPoint convenience function
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@794 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-26 18:58:08 +00:00
Ray Greenwell 6e123c3c8b Added scrollToKey().
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@793 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-24 22:24:02 +00:00
Ray Greenwell 0a4a690728 Let's use presents.dobj.EventListener (and expose a public function- oh well)
and just handle all events in one place, greatly reducing line count
and at the same time handling changes other than AttributeChangedEvents
to the "refreshFields".


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@792 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-24 21:39:41 +00:00
Michael Bayne daa4dab352 Oops, didn't mean to foist that on the world (yet).
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@791 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-24 21:29:51 +00:00
Ray Greenwell 02748d3034 Properly using a flex List with sorting and filtering is tricky.
Take what we've learned and make a generic class for watching
a DSet and making a nice List out of it that preserves your
scroll position while elements are added or removed.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@790 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-24 21:03:14 +00:00
Charlie Groves afc8a7e4c7 Add method to get an array of all the tiles as mirages
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@789 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-24 20:14:19 +00:00
Michael Bayne 8f6e10af8f Changed a bunch of Thread.dumpStack() calls into stack traces properly logged
via the logging system.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@788 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-24 18:46:59 +00:00
Ray Greenwell fdfa3aa2e5 Dispatch events indicating we're in an unready state when
we're unloaded.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@787 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-20 23:53:56 +00:00
Ray Greenwell 7bf440c629 Since these work on urls, allow clientData to be passed in,
which will be the MediaDesc in msoy.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@786 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-20 21:56:48 +00:00
Michael Bayne a197042cff Updated copyright date.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@785 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-19 23:44:54 +00:00
Michael Bayne 40c32e0f04 Updated headers, added missing headers to some source files.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@784 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-19 23:44:46 +00:00
Ray Greenwell aa8eea91d3 Added a STOPPED state to indicate that we've reached
the end and are not paused. Support it for FLV and MP3.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@783 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-19 00:04:09 +00:00
Mike Thomas 6f101a4b5f Useful for cases where you have a tileset but only want some of the tiles in your multi frame image. This means that multiple different MultiFrameImages can be created using different, possibly overlapping subsets of the same shared tileset.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@782 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-18 21:34:11 +00:00
Charlie Groves c32d68afd2 Break resource set checking out of NetworkResourceBundle into an abstract superclass such that non-network bundles might also share in the glory of not asking for things that aren't there
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@781 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-13 18:49:15 +00:00
Dave Hoover 6fe87f6920 getBoolean
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@780 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-10 05:40:36 +00:00
Charlie Groves ad9837830b Check that the new variable isn't null, not the one that we just checked two lines ago
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@779 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-05 23:15:42 +00:00
Ray Greenwell 77d71ce7ed Hacktastic support for making a TextField only mouseEnabled when the mouse
is over a link. Similar in concept to some code that lived in msoy,
but that special code was tied into the RoomView, which just ain't right
for the chat system, and made it not work the same in games.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@778 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-04 03:12:46 +00:00
Ray Greenwell 1b14473f25 Added addSeparator().
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@777 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-03 00:13:13 +00:00
Mike Thomas 56e43572b8 On FadableImageSprite, we need to check for end-of-path fade in/fade out PRIOR to calling super, which chats with our sprite observers. Otherwise, those sprite observers might dispatch the sprite on a new fade which would then be immediately applied at full strength rather than applying slowly over the appropriate interval.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@776 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-02-19 22:31:15 +00:00
Charlie Groves e7773e0b86 Respect the current volume in looping sounds
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@775 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-02-09 20:08:59 +00:00
Ray Greenwell bdbe9dab3c Fix the chat input bug.
It's a mystery wrapped in a heisenbug inside sunspots.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@774 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-02-06 02:43:34 +00:00
Ray Greenwell 9e8021cc7e These trace statements have served their purpose. Adding traces to MediaStub.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@773 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-02-06 00:27:09 +00:00
Ray Greenwell ea185ceab0 Attempt to call unloadAndStop(), but remain compileable for flash 9
for the time being.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@772 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-02-02 21:54:31 +00:00
Ray Greenwell 4b4701b4aa Revert to targetting 9.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@771 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-29 20:30:51 +00:00
Mike Thomas 2af7ad1dcf Roll back r760 - this was forcing use of raw images in some cases, not just allowing.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@770 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-29 17:42:49 +00:00
Ray Greenwell 5aeb5ab0f0 Enable glorious unloadAndStop().
I did some tests with it, and it sure does put the kibosh on things.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@769 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-28 22:30:43 +00:00
Ray Greenwell ca8c370395 Updated to target flash 10.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@768 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-28 22:28:17 +00:00
Ray Greenwell 45a6e39f2c Ditch createTipLabel, just add another param to createLabel.
No need to avoid overwriting a defaultly-null field value with null.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@767 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-28 02:11:45 +00:00
Tom Conkling 8cddf9ef1b Allow Flash to throw an exception if the input is invalid
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@766 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-27 23:21:19 +00:00
Tom Conkling badfd4b612 Convenience functions
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@765 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-27 23:14:12 +00:00
Ray Greenwell 7db745258e Removed longstanding hack, make this prompt image a style.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@764 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-23 02:13:52 +00:00
Ray Greenwell da084e2c0c Bugfix: overriding flex's internal idea about 'enabled'ness
was a bad idea. Use it.
(Fixes chat semi-disabled for guests.)


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@763 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-22 23:00:17 +00:00
Matt Jensen 648ad3e0fc Formatting tweak.
TODO: I should probably add a third type of resource bundle, CLASSPATH_TYPE, that just searches the classpath for resource bundles.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@762 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-22 02:16:36 +00:00
Matt Jensen aacdc439a5 A couple changes to allow for a custom resource bundle.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@761 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-22 01:48:35 +00:00
Matt Jensen 3934ced69e Allowing raw images to be read from a stream.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@760 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-20 04:34:05 +00:00
Matt Jensen 6258d6e28e Allowing raw images to be read from a stream.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@759 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-20 01:24:45 +00:00
Matt Jensen 00d60b7397 Allowing raw images to be read from a stream.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@758 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-20 01:21:50 +00:00
Dave Hoover f381f4fe01 Widening/vararging
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@757 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-17 23:48:10 +00:00
Ray Greenwell e7132a127f Fix for when the items don't have a 'data' property.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@756 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-17 03:17:57 +00:00
Tom Conkling d22fcc041b DisplayUtil.positionBoundsRelative, the general version of DisplayUtil.positionBounds
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@755 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-16 23:25:16 +00:00
Mike Thomas dbc4c06d15 My search-fu seems to be failing. These printouts shouldn't be there.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@754 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-15 22:21:23 +00:00
Mike Thomas 79c5d9c925 Split out a little logic related to recentering and finishing up block resolution so it can be used reasonably by subclasses.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@753 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-15 00:49:23 +00:00
Ray Greenwell 45c9ca451e Oh baby, I think I fixed it.
- It seems that the camera gets fakey "locked" at the size it was set to
  when the user grants access to it.
  - Listen for status changes, don't set things up until the camera is
    unmuted.
  - record the size at the time of unmuting.

This all seems to work, but I worry about what would happen if access
to the camera had already been granted when this code runs.
There'd be no way to find out what the size was access was granted.
Fortunately, I believe we only use this code presently in a standalone
appletty-type-thing, so access is always granted in here.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@752 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-14 02:52:27 +00:00
Ray Greenwell ff31994909 Some rearrangement.
Fucking A.
It seems to default back to the size of the last snapshot taken
even if that snapshot was affected by the bug. When you quit and
then come back in, it is "stuck" to the last size. There's
no way to know what this size is.

Right now: logging everything, doing no adjustment.
Let's see if other people have problems, or what.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@751 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-09 02:24:11 +00:00
Ray Greenwell a0204eb35b And now suddenly it's back to 160x120.
Fuck me!


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@750 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-09 01:28:53 +00:00
Ray Greenwell ee4c68c757 Well, this is heisentastic, and to top everything off it seems to
always act like the size is 320x240 now, instead of what it used to do.
Ack!


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@749 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-09 01:25:45 +00:00
Ray Greenwell 2c60e6c3cf Use the 'enabled' property setter/getter.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@748 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-09 00:31:01 +00:00