home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 145
/
MOBICLIC145.ISO
/
pc
/
DATA
/
DSS145
/
DSS145_07
/
DSS145_07.swf
/
scripts
/
dss145_07
/
TimerGame.as
< prev
Wrap
Text File
|
2012-07-18
|
684b
|
32 lines
package dss145_07
{
import flash.display.MovieClip;
public class TimerGame
{
private var _movie:MovieClip;
public var valuePourCent:Number = 0;
public function TimerGame(param1:MovieClip)
{
super();
this._movie = param1;
}
public function refresh(param1:Number) : void
{
this.valuePourCent = param1;
var _loc2_:int = Math.floor(param1) + 1;
this._movie.TIMER_BAR.gotoAndStop(_loc2_);
}
public function setState(param1:String) : void
{
this._movie.gotoAndStop(param1);
}
}
}