| Package | org.wak.baseoneonline.flash.utils |
| Class | public class StopWatch |
| Inheritance | StopWatch flash.display.Sprite |
| Method | Defined by | ||
|---|---|---|---|
|
StopWatch(preText:String = "")
| StopWatch | ||
|
display():void
Read the elapsed time,
and display it in the textfield.
| StopWatch | ||
|
read():int
Return the elapsed time since
start() was called. | StopWatch | ||
|
start():void
Set the starttime (Start counting)
| StopWatch | ||
| StopWatch | () | constructor |
public function StopWatch(preText:String = "")Parameters
preText:String (default = "") |
| display | () | method |
public function display():voidRead the elapsed time, and display it in the textfield.
| read | () | method |
public function read():int
Return the elapsed time since start() was called.
int |
| start | () | method |
public function start():voidSet the starttime (Start counting)