home *** CD-ROM | disk | FTP | other *** search
- if(_root.LaserBase._currentframe == 1)
- {
- tellTarget(_root.LaserBase)
- {
- if(Key.isDown(39) && _X < 500)
- {
- _X = _X + 6;
- }
- else if(Key.isDown(37) && 20 < _X)
- {
- _X = _X - 6;
- }
- }
- if(Key.isDown(32) && !_root.LaserFire._visible)
- {
- _root.Sound.gotoAndPlay("Fire");
- tellTarget(_root.LaserFire)
- {
- _X = _root.LaserBase._x;
- _visible = true;
- }
- }
- }
-