home *** CD-ROM | disk | FTP | other *** search
- onEnterFrame = function()
- {
- if(this.getDepth() != _root.getNextHighestDepth() - 1)
- {
- this.swapDepths(_root.getNextHighestDepth());
- }
- if(done)
- {
- return undefined;
- }
- this._alpha -= (this._alpha - 100) / 10;
- if(this._alpha > 95)
- {
- this._alpha = 100;
- done = true;
- }
- };
- _alpha = 0;
- men.swapDepths(getNextHighestDepth());
-