home *** CD-ROM | disk | FTP | other *** search
- class user extends MovieClip
- {
- function user()
- {
- super();
- }
- function upDown(speed)
- {
- _root.speedN += speed;
- trace(_root.speedN + "," + speed);
- if(_root.speedN == 0)
- {
- _root.user_mc.gotoAndStop("stopF");
- _root.moveStopF();
- }
- }
- function leftRight(Num)
- {
- this._x += Num;
- Num > 0 ? this.gotoAndStop("rightF") : this.gotoAndStop("leftF");
- }
- }
-