home *** CD-ROM | disk | FTP | other *** search
- eyes._visible = false;
- cv = 0;
- this.onEnterFrame = function()
- {
- bt = _root.getBytesTotal();
- bl = _root.getBytesLoaded();
- perc = Math.floor(bl / bt * 100);
- beams._alpha = bl / bt * 100;
- head.gotoAndStop(perc);
- this.sho = perc + "%";
- if(perc == 100)
- {
- if(!this.dunn)
- {
- flashit.gotoAndPlay(2);
- this.dunn = true;
- }
- sho = "PRESS A";
- cv++;
- if(cv >= 20)
- {
- eyes._visible = true;
- soundit.gotoAndPlay(1);
- delete this.onEnterFrame;
- dabut.onPress = function()
- {
- thebeard.start();
- delete this._parent.onEnterFrame;
- delete this.onEnterFrame;
- _root.gotoAndStop(2);
- };
- this.onEnterFrame = function()
- {
- if(Key.isDown(65))
- {
- thebeard.start();
- delete this.onEnterFrame;
- _root.gotoAndStop(2);
- }
- };
- }
- }
- };
-