delta) errMsg+="Time to finish the task is out of expectation: actual time="+selectionTime+"; expect time<="+delta; return errMsg; } private function getResults(evt:Event):void { lbl.text = verifyCumulativeTime(1000); } ]]>