[virtualcommons-svn] SF.net SVN: virtualcommons:[352] mentalmodels/trunk/flex/src/custom/ FisheryEx
Status: Beta
Brought to you by:
alllee
From: <kj...@us...> - 2009-11-03 20:16:09
|
Revision: 352 http://virtualcommons.svn.sourceforge.net/virtualcommons/?rev=352&view=rev Author: kjonas Date: 2009-11-03 20:15:55 +0000 (Tue, 03 Nov 2009) Log Message: ----------- Removed distracting pop-up messages Modified Paths: -------------- mentalmodels/trunk/flex/src/custom/FisheryExperimentCore.mxml Modified: mentalmodels/trunk/flex/src/custom/FisheryExperimentCore.mxml =================================================================== --- mentalmodels/trunk/flex/src/custom/FisheryExperimentCore.mxml 2009-10-30 22:46:20 UTC (rev 351) +++ mentalmodels/trunk/flex/src/custom/FisheryExperimentCore.mxml 2009-11-03 20:15:55 UTC (rev 352) @@ -130,15 +130,15 @@ { var msg:IMessage; - if(event.message.body as actionscript.Block) + if(event.message.body is actionscript.Block) { setBlock(event.message.body as actionscript.Block); } - else if(event.message.body as ArrayCollection) + else if(event.message.body is ArrayCollection) { var students:ArrayCollection = new ArrayCollection(); students = ArrayCollection(event.message.body); - Alert.show("Student size is: " + students.length); +// Alert.show("Student size is: " + students.length); if(students.length !=0) { for(var i:int = 0; i< students.length; i++) @@ -150,7 +150,7 @@ } } } - Alert.show("Current Student Information is: " + "\n"+studentObject.id +"\n"+studentObject.gameCode+"\n"+studentObject.studentNo); +// Alert.show("Current Student Information is: " + "\n"+studentObject.id +"\n"+studentObject.gameCode+"\n"+studentObject.studentNo); } } private function blockResultHandler(event:ResultEvent):void @@ -298,7 +298,7 @@ } else if(curr.getChildAt(j) is StrategyDesignQuestionC) { - Alert.show("Strategy Saving"); +// Alert.show("Strategy Saving"); studentResponse.response = null; studentResponse.question = null; @@ -422,7 +422,7 @@ { if(event.result is ArrayCollection) { - Alert.show(""+(event.result as ArrayCollection).length,"locations received"); +// Alert.show(""+(event.result as ArrayCollection).length,"locations received"); locations = event.result as ArrayCollection; if(instructions != null) { @@ -432,7 +432,7 @@ } private function strategyResultHandler(event:ResultEvent):void { -// Alert.show("Strategy Saved"); + Alert.show("Strategy Saved"); } private function studentResultHandler(event:ResultEvent):void This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |