home *** CD-ROM | disk | FTP | other *** search
- function mStart()
- {
- this.targeta.play();
- }
- function mHit()
- {
- _root.goGame.poBall.mHide();
- }
- function mDone()
- {
- _root.goGame.mLevelComplete();
- }
- function mReset()
- {
- this.paHits = [0,0,0];
- _parent.redballa.mReset();
- _parent.redballb.mReset();
- this.targeta.target.gotoAndStop(1);
- this.targetb.gotoAndStop(1);
- this.targetc.gotoAndStop(1);
- }
- function mCatch(liNum)
- {
- this.paHits[liNum - 1] = 1;
- var liCount = 0;
- var i = 0;
- while(i < this.paHits.length)
- {
- liCount += this.paHits[i];
- i++;
- }
- if(liCount == 3)
- {
- this.mDone();
- }
- else if(liNum == 3)
- {
- _root.goGame.mActivate();
- }
- }
- paHits = [0,0,0];
- stop();
-