home *** CD-ROM | disk | FTP | other *** search
- package
- {
- import adobe.utils.*;
- import flash.accessibility.*;
- import flash.display.*;
- import flash.errors.*;
- import flash.events.*;
- import flash.external.*;
- import flash.filters.*;
- import flash.geom.*;
- import flash.media.*;
- import flash.net.*;
- import flash.printing.*;
- import flash.system.*;
- import flash.text.*;
- import flash.ui.*;
- import flash.utils.*;
- import flash.xml.*;
-
- [Embed(source="/_assets/assets.swf", symbol="skeleton")]
- public dynamic class skeleton extends MovieClip
- {
-
-
- public var legL1:MovieClip;
-
- public var legL2:MovieClip;
-
- public var neck:MovieClip;
-
- public var armR1:MovieClip;
-
- public var armR2:MovieClip;
-
- public var torso2:MovieClip;
-
- public var torso1:MovieClip;
-
- public var footR:MovieClip;
-
- public var legR2:MovieClip;
-
- public var handL:MovieClip;
-
- public var armL1:MovieClip;
-
- public var armL2:MovieClip;
-
- public var handR:MovieClip;
-
- public var legR1:MovieClip;
-
- public var footL:MovieClip;
-
- public var head:MovieClip;
-
- public var board:MovieClip;
-
- public function skeleton()
- {
- super();
- addFrameScript(0,frame1,17,frame18,18,frame19,19,frame20,32,frame33,37,frame38,47,frame48,50,frame51,53,frame54,60,frame61,70,frame71,80,frame81,90,frame91,103,frame104,115,frame116,120,frame121,121,frame122,128,frame129,132,frame133,135,frame136,138,frame139,142,frame143);
- }
-
- internal function frame143() : *
- {
- gotoAndStop("stand");
- }
-
- internal function frame71() : *
- {
- gotoAndPlay("grind_50-50");
- }
-
- internal function frame81() : *
- {
- gotoAndPlay("grind_tail");
- }
-
- internal function frame91() : *
- {
- gotoAndPlay("grind_nose");
- }
-
- internal function frame18() : *
- {
- gotoAndStop("stand");
- }
-
- internal function frame1() : *
- {
- stop();
- MovieClip(this.parent).player.pump = false;
- board.wheels.visible = true;
- }
-
- internal function frame19() : *
- {
- MovieClip(this.parent).sound.startSound("ollie",0,0,1,0);
- }
-
- internal function frame104() : *
- {
- gotoAndStop("stand");
- }
-
- internal function frame20() : *
- {
- MovieClip(this.parent).sound.setVolume("roll",0);
- MovieClip(this.parent).vy = 10;
- MovieClip(this.parent).player.contact = false;
- MovieClip(this.parent).ollieInit = false;
- if(MovieClip(this.parent).player.smode != 10)
- {
- MovieClip(this.parent).player.smode = 1;
- }
- }
-
- internal function frame116() : *
- {
- MovieClip(this.parent).player.airTime = false;
- }
-
- internal function frame38() : *
- {
- if(MovieClip(this.parent).player.smode == 10)
- {
- gotoAndStop("winner");
- }
- else
- {
- gotoAndStop("stand");
- }
- }
-
- internal function frame33() : *
- {
- MovieClip(this.parent).sound.startSound("softland",0,0,1,0);
- }
-
- internal function frame48() : *
- {
- MovieClip(this.parent).player.starFX(4,10,60,0);
- }
-
- internal function frame129() : *
- {
- board.wheels.visible = false;
- }
-
- internal function frame121() : *
- {
- gotoAndStop("stand");
- }
-
- internal function frame51() : *
- {
- MovieClip(this.parent).player.starFX(4,10,80,0);
- }
-
- internal function frame139() : *
- {
- gotoAndStop("stand");
- }
-
- internal function frame136() : *
- {
- MovieClip(this.parent).player.airTime = false;
- board.wheels.visible = true;
- }
-
- internal function frame122() : *
- {
- stop();
- board.wheels.visible = true;
- }
-
- internal function frame54() : *
- {
- MovieClip(this.parent).player.starFX(4,10,100,0);
- }
-
- internal function frame61() : *
- {
- stop();
- }
-
- internal function frame133() : *
- {
- if(MovieClip(this.parent).key5)
- {
- gotoAndPlay(130);
- }
- }
- }
- }
-