Moved the update of the rat dive results outside of the for loop to hopefully remove any delay that creates when we do large rat drops.
Merged back in stashed changes from working on new 3 level definition of Ship Odyssey
3 Level version showing ditribution patterns. Mostly completed. Still a bug or two to find. Major items changed: locations are now pushed into an array and accessed from there at drops. You can have 0, 1, or 2 treasures at a location in level 2. Using a DropLocation scheme instead of TreasureNum scheme since can have 0 or 2 at a location.
Updated 3 Level game play. Everything is in place and needs to be tested thoroughly. Only left out the change in water and sky colors between levels (L1 and L3 are the same right now).
Commit 2012.04.30 - Probably Tristan's last commit. Implemented 4-level game with new goals for L1 & L2 to teach students the distribution shapes. Currently ready for testing.
allow one newline at end of .flexProperties and .actionScriptProperties file; FlashBuilder 4.5 seems to want to add more blank lines, but we'll stop here.
Merge commit 'f930a838bb3ce761a8c763e574b80a25dc160f2e'
"Ship Odyssey 4-level update (#13)" from tripwarneke:master
Some things didn't seem to commit with the last build. No actual changes, just making sure everything is added to the build before last commit, push, and merge into the master SRRI branch.
Merge pull request #14 from tripwarneke/master

Ship Odyssey update 2012.04.30
build bin-release/RockRoll.swf from source for v.2012.04.26
ChainSaw and ShipOdyssey: remove redundant attributes at event level.
Changed Files [
ShipOdyssey.mxml [remove redundant attributes (Level) from Events collection, improve readability of version number, new version 2012.06.11 ]
ChainSaw.mxml [remove redundant attributes (Player) from Events collection, new version 2012.06.11]
]
Update KCPTCommonLibrary to allow for both DG and TinkerPlots use (add new 'doCommand' ScriptInterface)
Chainsaw with optional DG data interface draft one (defaults to TinkerPlots data interface for now)
Chainsaw now builds error-free with new DG interface; can optionally build for old TP data interface.

CutProperties.as [remove build warnings by adding scope and type specifiers to global variables]
ChainSaw.swf [new build 'ChainSaw [fl-dg] 2012.06.18']
ChainSaw.mxml [updated to latest DG game interface, also can uncomment "TP edition" to replace "DG edition"]
ChainSaw.html [update game name to match Flash "Chainsaw"]

as3corelib.swc [add JSON library required by KCPT data interface (com.adobe.serialization.json.JSON)]
KCPTCommonLibrary.swc [updated]
Chainsaw: fix initGameString in DG interface (defaults must use 'x|yAttr' to match DG.GameSpec). These changes are not visible to user.
ChainSaw.swf [new build 'ChainSaw [fl-dg] 2012.06.19']
ChainSaw.mxml [fix initGameString to use 'x|yAttr' to match DG.GameSpec]
Update DG data interface for Chainsaw and ShipOdyssey, to fix DG update bugs.  now v.2012-07-05(fl-dg), and data interface uses JSON.encode to improve readability.  We can still build the "(fl-tp)" version by changing one constant.
ShipOdyssey bug fix: The game case appears after, not before, the user sets the game level, so that the 'level' value is now correct.  Now at version '2012-07-13(fl-dg)'.
ShipOdyssey and Chainsaw game updates to  sound level, data interface
Chainsaw  game updates
- adjust initial sound level, was 100%, now 50%.
- add activate, deactivate methods for consistency with KCPT games (effect unknown).
- build version 2012-07-18(fl-dg) and 2012-07-18(fl-tp)
ShipOdyssey game updates.
- adjust initial sound level, was 100%, now 80%.
- Update game event data after every Send Rats and Drop Hook.
- Send rat event data to DG in batches of about 1/10th of the requested rats at a time. This speeds up DG considerably,
for example sending 100 rats in 10 batches causes the graph to update 10 times instead of 100.
- add activate, deactivate methods for consistency with KCPT games (effect unknown).
- build version 2012-07-18(fl-dg) and 2012-07-18(fl-tp)
Add ActionScript 3 Core Library (as3corelib.swc) version 0.93 plus docs, for JSON encode/decode functions needed by KCPTLibrary for DG script interface to games.
data interface updates to Chainsaw, ShipOdyssey, RockRoll, CropMonster.
update the version for these games to v.2012.07.26
add updated DG interface to RockRoll, CropMonster (unfinished for CropMonster).
add "label" to initGame DG interface for better event-level labels in DG table.
add more frequent game case updates to RockRoll for DG.
simplify compile-time switch between TP and DG data interface for Chainsaw, ShipOdyssey
remove build warnings for RockRoll (remove unfinished code in Graph.mxml)
update build settings for RockRoll, CropMonster because FlashBuilder 4.5 wants to (changes to .actionScriptProperties)
Changed files:
ShipOdyssey.mxml
RockRoll.mxml
Graph.mxml
CropMonster.mxml
ChainSaw.mxml
.actionScriptProperties
.actionScriptProperties