home *** CD-ROM | disk | FTP | other *** search
- function init()
- {
- var i = 1;
- while(_root.cst.maxObjects >= i)
- {
- tellTarget("../object_" + i)
- {
- _root.temp.objectFrames = _totalframes;
- }
- if(Number(_root.temp.objectFrames) == 0)
- {
- _name = "object_" + i;
- break;
- }
- i++;
- }
- gotoAndStop(1);
- }
- function hit()
- {
- if(active == true)
- {
- _parent._parent._parent.ship.actShots += 5;
- _parent._parent._parent.ship.refreshShots();
- active = false;
- play();
- }
- }
- active = true;
- stop();
- init();
-