home *** CD-ROM | disk | FTP | other *** search
- myx = _X;
- myW = _width * 0.5;
- myR = myx + myw;
- myL = myx - myw;
- if(targon eq "false")
- {
- if(myR > -10 and myL < _root.stagew + 10)
- {
- _visible = 1;
- targon = "true";
- }
- }
- else if(myL > _root.stageW + 10 or MyR < -10)
- {
- _visible = 0;
- targon = "false";
- }
- if(_root.truck1._x < myx - 25)
- {
- if(_root.convoylist.length > 0)
- {
- gotoAndStop("done");
- play();
- }
- }
- gotoAndPlay(_currentframe - 1);
-