home *** CD-ROM | disk | FTP | other *** search
- class EE
- {
- var mcRef;
- var nWord;
- function EE(__mcRef)
- {
- this.mcRef = __mcRef;
- this.mcRef.stop();
- this.mcRef.mcWord.stop();
- LevelManager.Instance.doAddListener(this);
- }
- function doStart()
- {
- if(this.mcRef._currentframe == 1)
- {
- this.nWord = Library.Utils.MoreMath.getRandomRange(1,6);
- this.mcRef.mcWord.gotoAndStop(this.nWord);
- this.mcRef.play();
- Library.Sound.SoundManager.doPlaySoundInCat(Main.sSOUND_CAT_SOUND,"EE.mp3");
- }
- }
- function doDestroy()
- {
- delete this.mcRef;
- }
- }
-