home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Samsung New PC Studio
/
Samsung_new_Pc_studio.iso
/
Experience
/
Pt_br
/
timeline.swf
/
scripts
/
frame_49
/
DoAction.as
Wrap
Text File
|
2007-09-20
|
1KB
|
46 lines
function goSmn(num)
{
ease(thumbHighlight,(pic2._x - pic1._x) * (num - 1) + pic1._x,thumbHighlight._y);
thumbHighlight.onEnterFrame = function()
{
this.t = this.t + 1;
if(this.t > this.d)
{
delete this.onEnterFrame;
}
this._x = easeInOut3(this.t,this.bX,this.dX,this.d);
};
}
if(timelineCover._currentframe == 1)
{
timelineCover.gotoAndPlay(2);
}
thumbHighlight.swapDepths(this.getNextHighestDepth());
goSmn(1);
var i = 1;
while(i <= 10)
{
pic = this["pic" + i];
pic.num = i;
thumbHighlightOver.duplicateMovieClip("thumbHighlightOver" + i,200 + i);
eval("thumbHighlightOver" + i)._x = pic._x;
eval("thumbHighlightOver" + i)._y = thumbHighlight._y;
pic.onRollOver = function()
{
eval("thumbHighlightOver" + this.num).gotoAndPlay("over");
_level200.snd.gotoAndPlay("snd2");
};
pic.onRollOut = function()
{
eval("thumbHighlightOver" + this.num).gotoAndPlay("out");
};
pic.onRelease = function()
{
_level200.snd.gotoAndPlay("snd3");
thumbHighlight.bX = thumbHighlight._x;
thumbHighlight.dX = thumbHighlight.destX - thumbHighlight._x;
_level10.subcon.gotoAndPlay("Smn" + this.num);
};
i++;
}