home *** CD-ROM | disk | FTP | other *** search
- class cross extends MovieClip
- {
- var sizeN;
- var suVis = "no";
- var suN = 0;
- function cross()
- {
- super();
- }
- function come()
- {
- this._yscale = this._xscale = 50;
- this._x = 200;
- this._y = 163;
- }
- function onEnterFrame()
- {
- if(_root.playIng == "no")
- {
- this.removeMovieClip();
- }
- if(_root.speedN > 0)
- {
- this.sizeN = 50 + 0.55 * (this._y - 163);
- this._yscale = this._xscale = this.sizeN;
- this._y += _root.speedN;
- }
- if(this._y > 320)
- {
- this.removeMovieClip();
- }
- }
- }
-