home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 51
/
Mobiclic51.iso
/
mac
/
DATA
/
CALEND
/
VIDEOS
/
PLOK49.SWF
/
scripts
/
DefineSprite_438
/
frame_28
/
DoAction.as
Wrap
Text File
|
2002-11-06
|
331b
|
19 lines
pos = plok._x;
droite = pos + 10 < _xmouse && pos < 470;
gauche = _xmouse < pos - 10 && 220 < pos;
milieu = pos - 10 < _xmouse && _xmouse < pos + 10;
if(droite)
{
plok._x = pos + 10;
plok.gotoAndStop(2);
}
if(gauche)
{
plok._x = pos - 10;
plok.gotoAndStop(3);
}
if(milieu)
{
plok.gotoAndStop(1);
}