home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Samsung New PC Studio
/
Samsung_new_Pc_studio.iso
/
Experience
/
Pt_br
/
timeline.swf
/
scripts
/
frame_45
/
DoAction.as
Wrap
Text File
|
2007-09-20
|
1KB
|
37 lines
stop();
_level100.statusNow = "sub";
mn = eval("mn" + _level100.mnNumNow);
mn.gotoAndPlay(2);
mn.destX = posCenter._x;
mn.destY = posCenter._y;
mn.onEnterFrame = function()
{
this.dX = this.destX - this._x;
this.dY = this.destY - this._y;
this._x += this.dX * 0.1;
this._y += this.dY * 0.2;
this.dS = this.destS - this._xscale;
this._xscale += this.dS * 0.2;
this._yscale = this._xscale;
this._alpha = this._xscale;
if(Math.floor(this.dX) <= 1 && Math.floor(this.dY) <= 1)
{
if(_level100.mnNumNow >= 8)
{
loadMovieNum(_level0.fPath + "movie" + _level100.mnNumNow + ".swf",10);
var n = 1;
while(n <= 5)
{
delete eval("mn" + n).onEnterFrame;
delete eval("mn" + n).onRollOver;
delete eval("mn" + n).onRollOut;
delete eval("mn" + n).onRelease;
n++;
}
delete this.onEnterFrame;
delete _root.onEnterFrame;
draw_mc.clear();
}
}
};